-
Notifications
You must be signed in to change notification settings - Fork 46
Release version
Michael Wetter edited this page Mar 29, 2017
·
14 revisions
To update the BuildingsPy
python package, proceed as follows:
-
In
BuildingsPy/setup.py
, update the version number in the sectionsetup( name = "buildingspy", version = "1.1.0",
-
Update the file
BuildingsPy/CHANGES.txt
, in particular, include the release date asBuildingsPy Changelog --------------------- Version 1.1.0, July 26, 2012 -- Release 1.1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Added ...
-
In
doc/source/conf.py
, update the version numbers on the lines# The short X.Y version. version = "1.1" # The full version, including alpha/beta/rc tags. release = "1.1.1"
-
Commit and push the changes to the repository, and make sure the regression tests work without error.
-
Set environment variables and delete temporary files by running from
BuildingsPy
the commandsexport PYTHONPATH=``pwd`` find . \( -name '\*~' -or -name '.DS\_Store' \) -delete
-
Run the following commands (which runs regression tests, doc tests, generates the documentation and posts the files to pypi.
make dist postBuildingsPyToWeb.sh
-
Tag the version in git using
git tag -a v1.4.0 -m "Tagged version 1.4.0" git push origin --tags