Skip to content

Commit

Permalink
Updated for release
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Mar 29, 2016
1 parent 8e10710 commit b09d602
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include buildingspy/license.txt
recursive-include buildingspy/thirdParty *
recursive-include buildingspy *.txt *.rst *.mo
recursive-include doc *
Expand Down
15 changes: 13 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,22 @@ dist: clean doctest unittest doc
cmp -s README.rst buildingspy/README.rst
python setup.py sdist --formats=gztar,zip
python setup.py bdist_egg
@rm -rf build
@rm -rf buildingspy.egg-info
rm -rf build
rm -rf buildingspy.egg-info
python setup.py sdist --formats=gztar,zip bdist_egg upload -r https://pypi.python.org/pypi
@echo "Source distribution is in directory dist"
@echo "To post to server, run postBuildingsPyToWeb.sh"

upload:
@# Make sure README.rst are consistent
cmp -s README.rst buildingspy/README.rst


upload-test:
@# Make sure README.rst are consistent
cmp -s README.rst buildingspy/README.rst
python setup.py sdist --formats=gztar,zip bdist_egg upload -r https://testpypi.python.org/pypi

clean-dist:
rm -rf build
rm -rf buildingspy.egg-info
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def read(fname):
license = "3-clause BSD",
keywords = "modelica dymola openmodelica mat",
url = "http://simulationresearch.lbl.gov/modelica/",
install_requires = ["pytidylib", "gitpython"],
# Uncommented as these don't work with pip install install_requires = ["pytidylib", "gitpython"],
packages = ['buildingspy',
'buildingspy/development',
'buildingspy/examples',
Expand Down

0 comments on commit b09d602

Please sign in to comment.