File tree 3 files changed +6
-6
lines changed 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ add_custom_target(python-wheel
55
55
56
56
add_custom_target (python-sdist
57
57
COMMENT "Creating sdist for AMICI base python package"
58
- COMMAND ${PYTHON_EXECUTABLE} setup.py sdist --dist-dir=${CMAKE_BINARY_DIR }
58
+ COMMAND ${PYTHON_EXECUTABLE} setup.py sdist --dist-dir=${CMAKE_CURRENT_BINARY_DIR }
59
59
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /sdist
60
60
)
61
61
Original file line number Diff line number Diff line change 18
18
# pip3 install --user --prefix= `ls -t ${AMICI_PATH}/build/python/amici-*.whl | head -1`
19
19
20
20
make python-sdist
21
-
21
+ set -x
22
22
python3 -m venv ${AMICI_PATH} /build/venv --clear
23
23
source ${AMICI_PATH} /build/venv/bin/activate
24
- pip3 install --user pkgconfig
25
- pip3 install ` ls -t ${AMICI_PATH} /build/python/amici-* .tar.gz | head -1`
24
+ pip3 install --upgrade pip
25
+ pip3 install pkgconfig wheel
26
+ pip3 install --verbose ` ls -t ${AMICI_PATH} /build/python/amici-* .tar.gz | head -1`
Original file line number Diff line number Diff line change @@ -7,6 +7,5 @@ AMICI_PATH="`( cd \"$AMICI_PATH/..\" && pwd )`"
7
7
set -e
8
8
cd ${AMICI_PATH} /tests
9
9
source ${AMICI_PATH} /build/venv/bin/activate
10
- pip3 install --upgrade pip
11
- pip3 install --user scipy h5py
10
+ pip3 install scipy h5py
12
11
python3 testModels.py
You can’t perform that action at this time.
0 commit comments