Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb7022 commit 03e0936Copy full SHA for 03e0936
setup.py
@@ -36,6 +36,16 @@
36
except ImportError:
37
from distutils.core import setup
38
39
+# The setuptools version of sdist adds a setup.cfg file to the tree.
40
+# We don't want that, so we simply remove it, and it will fall back to
41
+# vanilla distutils.
42
+try:
43
+ from setuptools.command import sdist
44
+except ImportError:
45
+ pass
46
+else:
47
+ del sdist.sdist.make_release_tree
48
+
49
import setupext
50
from setupext import print_line, print_raw, print_message, print_status
51
@@ -228,5 +238,4 @@
228
238
# Telling setuptools this prevents it from doing an automatic
229
239
# check for zip safety.
230
240
zip_safe=False,
231
-
232
241
)
0 commit comments