mirror of
https://github.com/wassname/psaw.git
synced 2026-08-20 12:40:32 +08:00
added skeleton Makefile
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Get version number from file
|
||||
# dynamically define filename of wheel object from version number
|
||||
# Make a build target for the current version's wheel
|
||||
# add as a dependency to the publish make targets
|
||||
|
||||
.PHONY: wheel test-publish publish
|
||||
|
||||
wheel:
|
||||
python setup.py sdist bdist_wheel
|
||||
|
||||
test-publish: wheel
|
||||
twine upload --repository-url https://test.pypi.org/legacy/ dist/$(ls dist | tail -1)
|
||||
|
||||
publish: wheel
|
||||
twine upload dist/$(ls dist | tail -1)
|
||||
Reference in New Issue
Block a user