-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
81 additions
and
57 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include LICENSE.txt | ||
include frozenordereddict/VERSION.txt | ||
include release_notes.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
# frozenordereddict | ||
|
||
## Release notes | ||
|
||
### 1.3.1 | ||
* Add missing VERSION.txt to MANIFEST.in. | ||
|
||
### 1.3.0 | ||
* Fix recursion in __repr__(). | ||
* Fix NameError for reduce() in __hash__() under Python 3. | ||
* Fix tests under Python 3. | ||
* Move README and release_notes to markdown. | ||
* Fix MANIFEST.in to include LICENSE and release_notes. | ||
* Add classifiers to setup(). | ||
|
||
### 1.2.0 | ||
* Change __repr__ to be the same format as OrderedDict. | ||
|
||
### 1.1.1 | ||
* Fix (reverse) order of release notes. | ||
* Minor format change in README. | ||
|
||
### 1.1.0 | ||
* Allow keyword arguments for __init__() and copy(). | ||
* Add documentation to README. | ||
|
||
### 1.0.1 | ||
* Minor refactor. | ||
|
||
### 1.0.0 | ||
* Refactor, removing frozendict dependency. | ||
* Add doc strings. | ||
* Add tests. | ||
|
||
### 0.1.0 | ||
* Initial release. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,8 @@ | |
|
||
from setuptools import setup, find_packages | ||
|
||
__version__ = "1.2.0" | ||
|
||
def file_read(filename): | ||
filepath = os.path.join(os.path.dirname(__file__), filename) | ||
with open(filepath) as flo: | ||
return flo.read() | ||
with open(os.path.join(os.path.dirname(__file__), "frozenordereddict", 'VERSION.txt')) as f: | ||
__version__ = f.read().strip() | ||
|
||
setup( | ||
name = "frozenordereddict", | ||
|
@@ -17,9 +13,16 @@ def file_read(filename): | |
author = "Warren A. Smith", | ||
author_email = "[email protected]", | ||
description = "Frozen OrderedDict.", | ||
long_description = file_read("README.rst"), | ||
long_description = "An immutable wrapper around an OrderedDict", | ||
long_description_content_type = "text/plain", | ||
license = "MIT", | ||
keywords = "ordereddict frozendict frozenordereddict orderedfrozendict ordered frozen dict", | ||
url = "https://github.com/wsmith323/frozenordereddict", | ||
test_suite = "tests", | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters