-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from PyUtilib/finalize-release-5.7.1
PR for finalizing the 5.7.1 release
- Loading branch information
Showing
5 changed files
with
31 additions
and
24 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
|
@@ -35,7 +35,16 @@ def _find_packages(path): | |
return [pkg for pkg in map(lambda x:x.replace(os.sep,"."), pkg_list)] | ||
|
||
def read(*rnames): | ||
return open(os.path.join(os.path.dirname(__file__), *rnames)).read() | ||
with open(os.path.join(os.path.dirname(__file__), *rnames)) as README: | ||
# Strip all leading badges up to, but not including the COIN-OR | ||
# badge so that they do not appear in the PyPI description | ||
while True: | ||
line = README.readline() | ||
if 'COIN-OR' in line: | ||
break | ||
if line.strip() and '[![' not in line: | ||
break | ||
return line + README.read() | ||
|
||
packages = _find_packages('pyutilib') | ||
|
||
|
@@ -48,15 +57,16 @@ def read(*rnames): | |
requires.append('ordereddict') | ||
|
||
setup(name="PyUtilib", | ||
version='5.7.1.dev0', | ||
version='5.7.1', | ||
maintainer='William E. Hart', | ||
maintainer_email='[email protected]', | ||
url = 'https://github.com/PyUtilib/pyutilib', | ||
license = 'BSD', | ||
platforms = ["any"], | ||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', | ||
description = 'PyUtilib: A collection of Python utilities', | ||
long_description = read('README.txt'), | ||
long_description = read('README.md'), | ||
long_description_content_type='text/markdown', | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: End Users/Desktop', | ||
|