mirror of https://github.com/openXC7/prjxray.git
Install FASM into environment properly.
This will make sure that any requirements for the FASM library are correctly installed into the environment too. Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
8e70e4e9ce
commit
1e3a136ce1
11
Makefile
11
Makefile
|
|
@ -4,8 +4,19 @@ ALL_EXCLUDE = third_party .git env build
|
|||
IN_ENV = if [ -e env/bin/activate ]; then . env/bin/activate; fi;
|
||||
env:
|
||||
virtualenv --python=python3 --system-site-packages env
|
||||
# Install prjxray
|
||||
ln -sf $(PWD)/prjxray env/lib/python3.*/site-packages/
|
||||
$(IN_ENV) python -c "import prjxray"
|
||||
# Install fasm from third_party
|
||||
$(IN_ENV) pip install --upgrade -e third_party/fasm
|
||||
# Install project dependencies
|
||||
$(IN_ENV) pip install -r requirements.txt
|
||||
# Install project's documentation dependencies
|
||||
$(IN_ENV) pip install -r docs/requirements.txt
|
||||
# Check fasm library was installed
|
||||
$(IN_ENV) python -c "import fasm"
|
||||
$(IN_ENV) python -c "import fasm.output"
|
||||
# Check YAML is installed
|
||||
$(IN_ENV) python -c "import yaml" || (echo "Unable to find python-yaml" && exit 1)
|
||||
|
||||
build:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
fasm
|
||||
futures
|
||||
intervaltree
|
||||
numpy
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit ece57149c96cea82ab155af3bba04e76eee4ab6a
|
||||
Subproject commit ddc281a41662bff3efb4a66c5b22307e31e5df44
|
||||
Loading…
Reference in New Issue