File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -43,20 +43,25 @@ doctest:
4343dist : clean doctest unittest doc
4444 @# Make sure README.rst are consistent
4545 cmp -s README.rst buildingspy/README.rst
46- python setup.py sdist --formats=zip
47- python setup.py bdist_egg
46+ python setup.py sdist bdist_wheel
4847 rm -rf build
4948 rm -rf buildingspy.egg-info
5049 @echo " Source distribution is in directory dist"
5150 @echo " To post to server, run postBuildingsPyToWeb.sh"
5251 @echo " To upload to PyPi, run 'twine upload dist/*'"
5352
5453
55-
5654upload-test :
5755 @# Make sure README.rst are consistent
5856 cmp -s README.rst buildingspy/README.rst
59- python setup.py sdist --formats=gztar,zip bdist_egg upload -r https://testpypi.python.org/pypi
57+ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
58+ # python setup.py sdist --formats=gztar,zip bdist_egg upload -r https://testpypi.python.org/pypi
59+
60+ upload :
61+ @# Make sure README.rst are consistent
62+ cmp -s README.rst buildingspy/README.rst
63+ twine upload dist/*
64+
6065
6166clean-dist :
6267 rm -rf build
You can’t perform that action at this time.
0 commit comments