Skip to content

Commit a409c8f

Browse files
authored
Use latest setuptools version supported for each Python version (#126)
* Use latest setuptools for Python 2 and 3 * Allow newer setuptools versions than specified in setup.py
1 parent 5c20efc commit a409c8f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
"datadog==0.39.0",
3333
"ddtrace==0.45.0",
3434
"wrapt==1.11.2",
35-
"setuptools==42.0.2",
35+
# If building for Python 3, use the latest version of setuptools
36+
"setuptools>=54.2.0; python_version >= '3.0'",
37+
# If building for Python 2, use the latest version that supports Python 2
38+
"setuptools>=44.1.1; python_version < '3.0'"
3639
],
3740
extras_require={
3841
"dev": ["nose2==0.9.1", "flake8==3.7.9", "requests==2.22.0", "boto3==1.10.33"]

0 commit comments

Comments
 (0)