diff --git a/setup.py b/setup.py index 1fd204e..c9c4bba 100644 --- a/setup.py +++ b/setup.py @@ -50,9 +50,8 @@ WEB_FILES = ["web/internal_data/css/icon.png", "web/internal_data/index.html"] install_requires = ["defusedxml", "passlib", "vobject>=0.9.6", - "python-dateutil>=2.7.3"] -if sys.version_info < (3, 9): - install_requires.append("setuptools") + "python-dateutil>=2.7.3", + "setuptools; python_version<'3.9'"] setup_requires = [] if {"pytest", "test", "ptr"}.intersection(sys.argv): setup_requires.append("pytest-runner")