File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ def local_file(name):
31
31
SOURCE = local_file ("src" )
32
32
README = local_file ("README.rst" )
33
33
34
- setuptools_version = tuple (map (int , setuptools .__version__ .split ("." )[:2 ]))
34
+ setuptools_version = tuple (map (int , setuptools .__version__ .split ("." )[:1 ]))
35
35
36
- if setuptools_version < (36 , 2 ):
36
+ if setuptools_version < (42 , ):
37
37
# Warning only - very bad if uploading bdist but fine if installing sdist.
38
38
warnings .warn (
39
- "This version of setuptools is too old to correctly store "
40
- "conditional dependencies in binary wheels . For more info, see: "
41
- "https://hynek.me/articles/conditional-python-dependencies/ "
39
+ "This version of setuptools is too old to handle license_files "
40
+ "metadata key . For more info, see: "
41
+ "https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#metadata "
42
42
)
43
43
44
44
You can’t perform that action at this time.
0 commit comments