cleanup dependencies and update setup.py

closes #197
This commit is contained in:
lilydjwg 2021-07-29 13:13:00 +08:00
parent b70de0a628
commit 02515fc82d
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# MIT licensed
# Copyright (c) 2013-2021 lilydjwg <lilydjwg@gmail.com>, et al.
__version__ = '2.4'
__version__ = '2.5dev'

View File

@ -21,9 +21,11 @@ setup(
zip_safe = True,
packages = find_namespace_packages(exclude=['tests', 'build*', 'docs*']),
install_requires = ['setuptools', 'packaging', 'toml', 'structlog', 'appdirs', 'tornado>=6', 'pycurl'],
install_requires = ['setuptools; python_version<"3.8"', 'toml', 'structlog', 'appdirs', 'tornado>=6', 'pycurl'],
extras_require = {
'vercmp': ['pyalpm'],
'pypi': ['packaging'],
'htmlparser': ['lxml'],
},
tests_require = [
'pytest',
@ -55,6 +57,7 @@ setup(
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development",