mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Make 'make env' a bit more solid
In some context, we don't end up with a bin/pip executable in our venv. It's better to call pip as a module.
This commit is contained in:
parent
6ed4499a97
commit
c303a490ef
6
Makefile
6
Makefile
@ -1,5 +1,5 @@
|
||||
PYTHON=python3
|
||||
REQ_MINOR_VERSION=4
|
||||
PYTHON ?= python3
|
||||
REQ_MINOR_VERSION = 4
|
||||
PREFIX ?= /usr/local
|
||||
MAINDIR = ${PREFIX}/share/dupeguru
|
||||
|
||||
@ -46,7 +46,7 @@ $(submodules_target) :
|
||||
env : | $(submodules_target) reqs
|
||||
@echo "Creating our virtualenv"
|
||||
${PYTHON} -m venv env --system-site-packages
|
||||
./env/bin/pip install -r requirements.txt
|
||||
./env/bin/python -m pip install -r requirements.txt
|
||||
|
||||
build/help : | env
|
||||
./env/bin/python build.py --doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user