Skip to content

Commit

Permalink
Add target for a Python virtualenv.
Browse files Browse the repository at this point in the history
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
  • Loading branch information
mithro committed Oct 11, 2018
1 parent 96bd8c7 commit 1b027f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
env
/build/
.Xil
# Ignore database directories _except_ for their settings
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ CLANG_FORMAT ?= clang-format

.PHONY: database format clean

env:
virtualenv --python=python3 env
. env/bin/activate; pip install -r requirements.txt
ln -s $(PWD)/prjxray env/lib/python3.*/site-packages/

build:
git submodule update --init --recursive
mkdir -p build
Expand Down

0 comments on commit 1b027f1

Please sign in to comment.