Skip to content

Commit b09d602

Browse files
committed
Updated for release
1 parent 8e10710 commit b09d602

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include buildingspy/license.txt
12
recursive-include buildingspy/thirdParty *
23
recursive-include buildingspy *.txt *.rst *.mo
34
recursive-include doc *

Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,22 @@ dist: clean doctest unittest doc
3232
cmp -s README.rst buildingspy/README.rst
3333
python setup.py sdist --formats=gztar,zip
3434
python setup.py bdist_egg
35-
@rm -rf build
36-
@rm -rf buildingspy.egg-info
35+
rm -rf build
36+
rm -rf buildingspy.egg-info
37+
python setup.py sdist --formats=gztar,zip bdist_egg upload -r https://pypi.python.org/pypi
3738
@echo "Source distribution is in directory dist"
3839
@echo "To post to server, run postBuildingsPyToWeb.sh"
3940

41+
upload:
42+
@# Make sure README.rst are consistent
43+
cmp -s README.rst buildingspy/README.rst
44+
45+
46+
upload-test:
47+
@# Make sure README.rst are consistent
48+
cmp -s README.rst buildingspy/README.rst
49+
python setup.py sdist --formats=gztar,zip bdist_egg upload -r https://testpypi.python.org/pypi
50+
4051
clean-dist:
4152
rm -rf build
4253
rm -rf buildingspy.egg-info

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def read(fname):
1616
license = "3-clause BSD",
1717
keywords = "modelica dymola openmodelica mat",
1818
url = "http://simulationresearch.lbl.gov/modelica/",
19-
install_requires = ["pytidylib", "gitpython"],
19+
# Uncommented as these don't work with pip install install_requires = ["pytidylib", "gitpython"],
2020
packages = ['buildingspy',
2121
'buildingspy/development',
2222
'buildingspy/examples',

0 commit comments

Comments
 (0)