Skip to content

Commit

Permalink
[_480] updates to setup.py for a Python3-only PRC
Browse files Browse the repository at this point in the history
  • Loading branch information
d-w-moore committed Oct 18, 2024
1 parent 6ca3815 commit e8ed7f7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,23 @@
classifiers=[
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Operating System :: POSIX :: Linux',
],
packages=find_packages(),
include_package_data=True,
install_requires=[
'PrettyTable>=0.7.2',
'defusedxml',
# - the new syntax:
#'futures; python_version == "2.7"'
],
# - the old syntax:
extras_require={ ':python_version == "2.7"': ['futures'],
extras_require={
'tests': ['unittest-xml-reporting'] # for xmlrunner
}
)

0 comments on commit e8ed7f7

Please sign in to comment.