include the system site packages in the virtualenv
This is especially necessary for the development environment because there are certain dependencies which one can't get from pypi.
This commit is contained in:
parent
96f2876975
commit
8e4ac03e14
4
Makefile
4
Makefile
|
@ -12,7 +12,7 @@ test: venv/development
|
|||
)
|
||||
|
||||
venv/development:
|
||||
test -d venv || python3 -m venv venv
|
||||
test -d venv || python3 -m venv venv --system-site-packages
|
||||
( \
|
||||
source venv/bin/activate; \
|
||||
pip3 install -r requirements/development.txt; \
|
||||
|
@ -20,7 +20,7 @@ venv/development:
|
|||
touch venv/development
|
||||
|
||||
venv:
|
||||
test -d venv || python3 -m venv venv
|
||||
test -d venv || python3 -m venv venv --system-site-packages
|
||||
( \
|
||||
source venv/bin/activate; \
|
||||
pip3 install -r requirements/base.txt; \
|
||||
|
|
Loading…
Reference in New Issue