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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy