mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34: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
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
|||||||
PYTHON=python3
|
PYTHON ?= python3
|
||||||
REQ_MINOR_VERSION = 4
|
REQ_MINOR_VERSION = 4
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
MAINDIR = ${PREFIX}/share/dupeguru
|
MAINDIR = ${PREFIX}/share/dupeguru
|
||||||
@ -46,7 +46,7 @@ $(submodules_target) :
|
|||||||
env : | $(submodules_target) reqs
|
env : | $(submodules_target) reqs
|
||||||
@echo "Creating our virtualenv"
|
@echo "Creating our virtualenv"
|
||||||
${PYTHON} -m venv env --system-site-packages
|
${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
|
build/help : | env
|
||||||
./env/bin/python build.py --doc
|
./env/bin/python build.py --doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user