diff --git a/.gitignore b/.gitignore index 1e7f24db..26ba6eed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/env/ /build/ .Xil # Ignore database directories _except_ for their settings diff --git a/Makefile b/Makefile index 2028b5d9..bd6f054c 100644 --- a/Makefile +++ b/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