Skip to content

Commit

Permalink
Merge pull request #147 from ymyzk/wheel
Browse files Browse the repository at this point in the history
Build and publish wheel
  • Loading branch information
Deconstrained authored Dec 19, 2024
2 parents 92763d2 + ad5a184 commit 85f9a73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
%: dist

dist: pdpyras.py setup.py
rm -f dist/* && python setup.py sdist
rm -f dist/* && python setup.py sdist bdist_wheel --universal

docs/index.html: pdpyras.py README.rst CHANGELOG.rst sphinx/source/conf.py sphinx/source/*.rst
rm -fr ./docs && cd sphinx && make html && cd .. && mv sphinx/build/html ./docs && touch ./docs/.nojekyll

docs: docs/index.html

install: dist
python setup.py install
python setup.py install

testpublish: dist
./publish-test.sh

publish: dist
twine upload dist/*.tar.gz
twine upload dist/*.tar.gz dist/*.whl

0 comments on commit 85f9a73

Please sign in to comment.