Skip to content

Commit

Permalink
About to release v0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Jul 30, 2018
1 parent b78892c commit 1a1214f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.10.1
=======
- New python signature: t is now a NumPy scalar

v0.10.0
=======
- New AnyODE
Expand Down
1 change: 0 additions & 1 deletion scripts/generate_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
NARGS=$#
PKG=$(find . -maxdepth 2 -name __init__.py -print0 | xargs -0 -n1 dirname | xargs basename)
AUTHOR=$(head -n 1 AUTHORS)
python3 -m pip install --user -e .[docs]
sphinx-apidoc --full --force -A "$AUTHOR" --module-first --doc-version=$(python3 setup.py --version) -F -o doc $PKG/ $(find . -type d -name tests)
#sed -i 's/Contents/.. include:: ..\/README.rst\n\nContents/g' doc/index.rst
#echo ".. include:: ../README.rst" >>doc/index.rst
Expand Down
9 changes: 3 additions & 6 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ cd $(dirname $0)/..
PKG=$(find . -maxdepth 2 -name __init__.py -print0 | xargs -0 -n1 dirname | xargs basename)
! grep --include "*.py" "will_be_missing_in='$VERSION'" -R $PKG/ # see deprecation()
PKG_UPPER=$(echo $PKG | tr '[:lower:]' '[:upper:]')
${PYTHON:-python3} setup.py build_ext -i
export PYTHONPATH=$(pwd)
./scripts/run_tests.sh
env ${PKG_UPPER}_RELEASE_VERSION=v$VERSION python3 setup.py sdist
#python3 -m pip install --user -e .[docs]
env ${PKG_UPPER}_RELEASE_VERSION=v$VERSION ./scripts/generate_docs.sh $4 ${5:-$PKG} v$VERSION
for CONDA_PY in 2.7 3.4 3.5; do
for CONDA_NPY in 1.11; do
continue # we build the conda recipe on another host for now..
PATH=$CONDA_PATH:$PATH ./scripts/build_conda_recipe.sh v$VERSION --python $CONDA_PY --numpy $CONDA_NPY
done
done

# All went well, add a tag and push it.
git tag -a v$VERSION -m v$VERSION
Expand Down
1 change: 0 additions & 1 deletion scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
# $ ./scripts/run_tests.sh
# or
# $ ./scripts/run_tests.sh --cov pycvodes --cov-report html
${PYTHON:-python3} setup.py build_ext -i
${PYTHON:-python3} -m pytest --doctest-modules --pep8 --flakes $@
MPLBACKEND=Agg ${PYTHON:-python3} -m doctest README.rst

0 comments on commit 1a1214f

Please sign in to comment.