Skip to content

Commit a7f2311

Browse files
committed
build: prep for 2.5.0 - fix py versions, add links to pypi
Mark supported python version as 3.7 or newer alphabetize args to setup so I can find them add project_urls for docs, changelog, contact, IRC issues licenses and wiki.
1 parent e68f652 commit a7f2311

File tree

1 file changed

+31
-20
lines changed

1 file changed

+31
-20
lines changed

setup.py

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -210,20 +210,8 @@ def main():
210210
sys.exit(42)
211211

212212
setup(name='roundup',
213-
version=__version__,
214213
author="Richard Jones",
215214
author_email="[email protected]",
216-
maintainer="Ralf Schlatterbeck",
217-
maintainer_email="[email protected]",
218-
description="A simple-to-use and -install issue-tracking system"
219-
" with command-line, web and e-mail interfaces. Highly"
220-
" customisable.",
221-
license="OSI Approved: MIT License, Zope Public License, Python Software Foundation License",
222-
long_description=long_description,
223-
long_description_content_type='text/x-rst',
224-
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
225-
url='https://www.roundup-tracker.org',
226-
download_url='https://pypi.org/project/roundup',
227215
classifiers=[#'Development Status :: 5 - Production/Stable',
228216
'Development Status :: 4 - Beta',
229217
#'Development Status :: 3 - Alpha',
@@ -258,23 +246,46 @@ def main():
258246
'Topic :: Software Development :: Bug Tracking',
259247
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
260248
],
261-
extras_require={
262-
"charting": ['pygal'],
263-
"jinja2": ['jinja2'],
264-
"extras": ['brotli', 'pytz'],
265-
"test": ['pytest > 7.0.0'],
266-
},
267249
# Override certain command classes with our own ones
268250
cmdclass={'build_doc': build_doc,
269251
'build': build,
270252
'bdist_rpm': bdist_rpm,
271253
'install_lib': install_lib,
272254
},
273-
packages=packages,
255+
data_files=data_files,
256+
description="A simple-to-use and -install issue-tracking system"
257+
" with command-line, web and e-mail interfaces. Highly"
258+
" customisable.",
259+
download_url='https://pypi.org/project/roundup',
274260
entry_points={
275261
'console_scripts': scripts,
276262
},
277-
data_files=data_files)
263+
extras_require={
264+
"charting": ['pygal'],
265+
"jinja2": ['jinja2'],
266+
"extras": ['brotli', 'pytz'],
267+
"test": ['pytest > 7.0.0'],
268+
},
269+
license="OSI Approved: MIT License, Zope Public License,"
270+
" Python Software Foundation License",
271+
long_description=long_description,
272+
long_description_content_type='text/x-rst',
273+
maintainer="Ralf Schlatterbeck",
274+
maintainer_email="[email protected]",
275+
packages=packages,
276+
project_urls={
277+
"Documentation": "https://roundup-tracker.org/docs.html",
278+
"Changelog": "https://sourceforge.net/p/roundup/code/ci/tip/tree/CHANGES.txt",
279+
"Contact": "https://roundup-tracker.org/contact.html",
280+
"IRC": "https://webchat.oftc.net/?randomnick=1&channels=roundup&prompt=1",
281+
"Issues": "https://issues.roundup-tracker.org/",
282+
"Licenses": "https://roundup-tracker.org/docs/license.html",
283+
"Wiki": "https://wiki.roundup-tracker.org/",
284+
},
285+
python_requires=">=3.7",
286+
url='https://www.roundup-tracker.org',
287+
version=__version__,
288+
)
278289

279290

280291
if __name__ == '__main__':

0 commit comments

Comments
 (0)