8000 Do not install any dependency from setup.py test. · matplotlib/matplotlib@86dc98d · GitHub
[go: up one dir, main page]

Skip to content

Commit 86dc98d

Browse files
committed
Do not install any dependency from setup.py test.
If we did not overrider install_dists, setup.py test would install dependencies using easy_install, which we definitely do not want.
1 parent 9b8d3df commit 86dc98d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ def initialize_options(self):
142142
self.pytest_args = ""
143143
self.local_freetype = ""
144144

145+
install_dists = staticmethod(lambda dist: [])
146+
145147
def run_tests(self):
146148
import shlex
147149
import pytest

0 commit comments

Comments
 (0)
0