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

Skip to content

Commit 57ea260

Browse files
committed
Merge pull request #2334 from andreabedini/patch-4
Remove disabled code.
2 parents 8985b1b + a3ce79e commit 57ea260

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/matplotlib/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ def _forward_ilshift(self, other):
150150
# Python 3
151151
from imp import reload
152152

153-
# Needed for toolkit setuptools support
154-
if 0:
155-
try:
156-
__import__('pkg_resources').declare_namespace(__name__)
157-
except ImportError:
158-
pass # must not have setuptools
159153

160154
if not hasattr(sys, 'argv'): # for modpython
161155
sys.argv = ['modpython']

0 commit comments

Comments
 (0)