Skip to content

Commit a3fe55f

Browse files
Fixed pip installation
1 parent 4a179cd commit a3fe55f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

GKextCPy/setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
# Solve the chicken-and-egg problem of requiring packages *before* the
1313
# script has been parsed.
1414
for package in ['numpy', 'pkgconfig']:
15-
if '--user' in sys.argv:
16-
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', package])
17-
else:
18-
subprocess.check_call([sys.executable, '-m', 'pip', 'install', package])
15+
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', package])
1916

2017
def get_include_dirs():
2118
import pkgconfig

0 commit comments

Comments
 (0)