Fix setuptools requirement if installing wheel
This commit is contained in:
parent
515b196fda
commit
a2ceaa41a4
5
setup.py
5
setup.py
@ -50,9 +50,8 @@ WEB_FILES = ["web/internal_data/css/icon.png",
|
|||||||
"web/internal_data/index.html"]
|
"web/internal_data/index.html"]
|
||||||
|
|
||||||
install_requires = ["defusedxml", "passlib", "vobject>=0.9.6",
|
install_requires = ["defusedxml", "passlib", "vobject>=0.9.6",
|
||||||
"python-dateutil>=2.7.3"]
|
"python-dateutil>=2.7.3",
|
||||||
if sys.version_info < (3, 9):
|
"setuptools; python_version<'3.9'"]
|
||||||
install_requires.append("setuptools")
|
|
||||||
setup_requires = []
|
setup_requires = []
|
||||||
if {"pytest", "test", "ptr"}.intersection(sys.argv):
|
if {"pytest", "test", "ptr"}.intersection(sys.argv):
|
||||||
setup_requires.append("pytest-runner")
|
setup_requires.append("pytest-runner")
|
||||||
|
Loading…
Reference in New Issue
Block a user