Skip to content

Commit

Permalink
fix LONG_DOC and add project_urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckerns committed May 19, 2022
1 parent 8e282b9 commit eee148a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ tag_build = .dev0
#universal = 1
#python-tag = py3
#plat-name = manylinux1_x86_64

[sdist]
#formats=zip,gztar
40 changes: 24 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
for line in meta_fh:
if LONG_DOC:
if line.startswith(DOC_STOP):
LONG_DOC += DOC_STOP.rstrip()
LONG_DOC = LONG_DOC.strip().strip("'").strip('"').lstrip()
break
else:
LONG_DOC += line
elif line.startswith('__doc__'):
DOC_STOP = line.split(' = ')[-1]
LONG_DOC += DOC_STOP
LONG_DOC = "\n"
meta['LONG_DOC'] = LONG_DOC
finally:
meta_fh.close()
Expand Down Expand Up @@ -79,21 +79,29 @@
platforms = ['Linux', 'Windows', 'Mac'],
url = 'https://github.com/uqfoundation/pathos',
download_url = 'https://pypi.org/project/pathos/#files',
project_urls = {
'Documentation':'http://pathos.rtfd.io',
'Source Code':'https://github.com/uqfoundation/pathos',
'Bug Tracker':'https://github.com/uqfoundation/pathos/issues',
},
python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*',
classifiers = ['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering',
'Topic :: Software Development'],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
],
packages=['pathos','pathos.tests',\
'pathos.helpers','pathos.secure','pathos.xmlrpc'],
package_dir={'pathos':'pathos', 'pathos.tests':'tests', \
Expand Down

0 comments on commit eee148a

Please sign in to comment.