-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Swig ExpData constructor interface (#465)
* fix(swig) add ExpData default constructor so that swig generates it * fix(python) fix ExpData convenience wrapper * version bump * fix(CI) allow run-codecov.sh to fail the build, these are tests after all * fix(tests) remove earm model from pysb tests as it fails to compile in travis (why?) * fix(style) fix codacy unused variable issue * fix(CI) fix python coverage report * fix(CI) fix cpp coverage from python * fix(CI) test both install from archive and setup.py * fix(CI) fix archive installation * fix(python) objective function derivatives * fix(python) add docs, seperate install scripts, fixes #457 * fix(python) fix generation of sx0_fixedParmaters, make checkDerivative fail for given tolerances
- Loading branch information
1 parent
11c8ec3
commit a9aaf0e
Showing
14 changed files
with
201 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# Build libamici | ||
# | ||
set -e | ||
|
||
SCRIPT_PATH=$(dirname $BASH_SOURCE) | ||
AMICI_PATH=$(cd $SCRIPT_PATH/.. && pwd) | ||
|
||
# Disabled until cmake package is made compatible with updated setup.py | ||
#make python-wheel | ||
#pip3 install --user --prefix= `ls -t ${AMICI_PATH}/build/python/amici-*.whl | head -1` | ||
|
||
rm -f ${AMICI_PATH}/python/sdist/amici/*.cxx | ||
rm -f ${AMICI_PATH}/python/sdist/amici/*.so | ||
rm -f ${AMICI_PATH}/python/sdist/amici/amici.py | ||
rm -f ${AMICI_PATH}/python/sdist/amici/amici_without_hdf5.py | ||
|
||
# test install from archive | ||
python3 -m venv ${AMICI_PATH}/build/venvArchive --clear | ||
source ${AMICI_PATH}/build/venvArchive/bin/activate | ||
pip3 install --upgrade pip setuptools pkgconfig wheel numpy | ||
pip3 install $(ls -t ${AMICI_PATH}/build/python/amici-*.tar.gz | head -1) | ||
deactivate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.