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 d94433a commit 4b957fdCopy full SHA for 4b957fd
1 file changed
setup.py
@@ -11,23 +11,6 @@
11
12
import sys
13
14
-# distutils is breaking our sdists for files in symlinked dirs.
15
-# distutils will copy if os.link is not available, so this is a hack
16
-# to force copying
17
-import os
18
-try:
19
- del os.link
20
-except AttributeError:
21
- pass
22
-
23
-# This 'if' statement is needed to prevent spawning infinite processes
24
-# on Windows
25
-if __name__ == '__main__':
26
- # BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
27
- # update it when the contents of directories change.
28
- if os.path.exists('MANIFEST'):
29
- os.remove('MANIFEST')
30
31
from io import BytesIO
32
import os
33
from string import Template
0 commit comments