-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from ymyzk/wheel
Build and publish wheel
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|