mirror of https://github.com/openXC7/prjxray.git
Add target for a Python virtualenv.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
da10b35d0f
commit
4a94337c79
|
|
@ -1,3 +1,4 @@
|
|||
/env/
|
||||
/build/
|
||||
.Xil
|
||||
# Ignore database directories _except_ for their settings
|
||||
|
|
|
|||
7
Makefile
7
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue