mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Fix env creation in Makefile
The --user isn't a good idea at all to workaround Gentoo's patched pip.
This commit is contained in:
parent
84011fb46d
commit
50e26928f4
7
Makefile
7
Makefile
@ -57,8 +57,11 @@ $(submodules_target) :
|
||||
env : | $(submodules_target) reqs
|
||||
ifndef NO_VENV
|
||||
@echo "Creating our virtualenv"
|
||||
${PYTHON} -m venv env --system-site-packages
|
||||
$(VENV_PYTHON) -m pip install --user -r requirements.txt
|
||||
${PYTHON} -m venv env
|
||||
$(VENV_PYTHON) -m pip install -r requirements.txt
|
||||
# We can't use the "--system-site-packages" flag on creation because otherwise we end up with
|
||||
# the system's pip and that messes up things in some cases (notably in Gentoo).
|
||||
${PYTHON} -m venv --upgrade --system-site-packages env
|
||||
endif
|
||||
|
||||
build/help : | env
|
||||
|
Loading…
x
Reference in New Issue
Block a user