-
Notifications
You must be signed in to change notification settings - Fork 52
Release version
To update the BuildingsPy python package, proceed as follows:
-
In
buildingspy/VERSION, update the version number in the section3.0.0
For development versions, use 3.0.dev0
-
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 ...
-
Commit and push the changes to the repository, and make sure the regression tests work without error by running the command below. Note that the makefile sets up and activates for each target the virtual environment.
make unittest doctest
-
Verify the documentation builds without error by running
make doc
-
Delete temporary files by running from
BuildingsPythe commandsgit clean -f -x -d
-
Run the following commands (which runs regression tests, doc tests, generates the documentation and posts the files to pypi.
make dist make upload-test # This can be done once only, uploads to https://test.pypi.org make upload # This can be done once only, uploads to https://www.pypi.org postBuildingsPyToWeb.sh
-
Tag the version in git using
git tag -a v1.4.0 -m "Tagged version 1.4.0" git push origin --tags -
Enter the release at https://github.com/lbl-srg/BuildingsPy/releases
-
Update https://simulationresearch.lbl.gov/modelica/download.html