Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3479f5b

Browse filesBrowse 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
Copy full SHA for 3479f5b

File tree

Expand file treeCollapse file tree

2 files changed

+0
-18
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+0
-18
lines changed

‎lib/mpl_examples

Copy file name to clipboardExpand all lines: lib/mpl_examples
-1Lines changed: 0 additions & 1 deletion
This file was deleted.

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
-17Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.