Mercurial > p > roundup > code
comparison setup.py @ 8347:e25a4e199568
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 29 Jun 2025 12:10:23 -0400 |
| parents | 3bf6ad421347 |
| children | 3648c5ae2c25 |
comparison
equal
deleted
inserted
replaced
| 8346:107761be1e75 | 8347:e25a4e199568 |
|---|---|
| 208 print("doc/announcement.txt contains non-ascii: %s" | 208 print("doc/announcement.txt contains non-ascii: %s" |
| 209 % cause, file=sys.stderr) | 209 % cause, file=sys.stderr) |
| 210 sys.exit(42) | 210 sys.exit(42) |
| 211 | 211 |
| 212 setup(name='roundup', | 212 setup(name='roundup', |
| 213 version=__version__, | |
| 214 author="Richard Jones", | 213 author="Richard Jones", |
| 215 author_email="richard@users.sourceforge.net", | 214 author_email="richard@users.sourceforge.net", |
| 216 maintainer="Ralf Schlatterbeck", | |
| 217 maintainer_email="rsc@runtux.com", | |
| 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', | |
| 227 classifiers=[#'Development Status :: 5 - Production/Stable', | 215 classifiers=[#'Development Status :: 5 - Production/Stable', |
| 228 'Development Status :: 4 - Beta', | 216 'Development Status :: 4 - Beta', |
| 229 #'Development Status :: 3 - Alpha', | 217 #'Development Status :: 3 - Alpha', |
| 230 'Environment :: Console', | 218 'Environment :: Console', |
| 231 'Environment :: Web Environment', | 219 'Environment :: Web Environment', |
| 256 'Topic :: Communications :: Email', | 244 'Topic :: Communications :: Email', |
| 257 'Topic :: Office/Business', | 245 'Topic :: Office/Business', |
| 258 'Topic :: Software Development :: Bug Tracking', | 246 'Topic :: Software Development :: Bug Tracking', |
| 259 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', | 247 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', |
| 260 ], | 248 ], |
| 249 # Override certain command classes with our own ones | |
| 250 cmdclass={'build_doc': build_doc, | |
| 251 'build': build, | |
| 252 'bdist_rpm': bdist_rpm, | |
| 253 'install_lib': install_lib, | |
| 254 }, | |
| 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', | |
| 260 entry_points={ | |
| 261 'console_scripts': scripts, | |
| 262 }, | |
| 261 extras_require={ | 263 extras_require={ |
| 262 "charting": ['pygal'], | 264 "charting": ['pygal'], |
| 263 "jinja2": ['jinja2'], | 265 "jinja2": ['jinja2'], |
| 264 "extras": ['brotli', 'pytz'], | 266 "extras": ['brotli', 'pytz'], |
| 265 "test": ['pytest > 7.0.0'], | 267 "test": ['pytest > 7.0.0'], |
| 266 }, | 268 }, |
| 267 # Override certain command classes with our own ones | 269 license="OSI Approved: MIT License, Zope Public License," |
| 268 cmdclass={'build_doc': build_doc, | 270 " Python Software Foundation License", |
| 269 'build': build, | 271 long_description=long_description, |
| 270 'bdist_rpm': bdist_rpm, | 272 long_description_content_type='text/x-rst', |
| 271 'install_lib': install_lib, | 273 maintainer="Ralf Schlatterbeck", |
| 272 }, | 274 maintainer_email="rsc@runtux.com", |
| 273 packages=packages, | 275 packages=packages, |
| 274 entry_points={ | 276 project_urls={ |
| 275 'console_scripts': scripts, | 277 "Documentation": "https://roundup-tracker.org/docs.html", |
| 276 }, | 278 "Changelog": "https://sourceforge.net/p/roundup/code/ci/tip/tree/CHANGES.txt", |
| 277 data_files=data_files) | 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 ) | |
| 278 | 289 |
| 279 | 290 |
| 280 if __name__ == '__main__': | 291 if __name__ == '__main__': |
| 281 | 292 |
| 282 # Prevent `pip install roundup` from building bdist_wheel. | 293 # Prevent `pip install roundup` from building bdist_wheel. |
