Add target for a Python virtualenv.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2018-10-11 20:12:48 +00:00
parent da10b35d0f
commit 4a94337c79
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/env/
/build/
.Xil
# Ignore database directories _except_ for their settings

View File

@ -1,6 +1,11 @@
CLANG_FORMAT ?= clang-format
.PHONY: database format clean
.PHONY: database format clean env
env:
virtualenv --python=python3 env
. env/bin/activate; pip install -r requirements.txt
ln -sf $(PWD)/prjxray env/lib/python3.*/site-packages/
build:
git submodule update --init --recursive