Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3479f5b

Browse files
authored
Merge pull request #14582 from jdemeyer/backport_11722
Backport to 2.2.x removal of mpl_examples and setup.py cleanup
2 parents 5e63281 + 4b957fd commit 3479f5b

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

lib/mpl_examples

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,6 @@
1111

1212
import sys
1313

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-
3114
from io import BytesIO
3215
import os
3316
from string import Template

0 commit comments

Comments
 (0)