Skip to content

Commit

Permalink
Add twine rule
Browse files Browse the repository at this point in the history
  • Loading branch information
fornellas committed Apr 20, 2020
1 parent dfd9384 commit a827ded
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ sdist_clean:
@printf "${TERM_BRIGHT}SDIST CLEAN\n${TERM_NONE}"
${Q} rm -rf dist/ MANIFEST TestSlide.egg-info/

.PHONY: twine
twine: sdist
twine upload dist/TestSlide-$(shell cat .version).tar.gz

.PHONY: install_local
install_local:
@printf "${TERM_BRIGHT}INSTALL LOCAL\n${TERM_NONE}"
Expand All @@ -179,4 +183,4 @@ travis: \
.PHONY: clean
clean: sdist_clean docs_clean coverage_html_clean coverage_erase
@printf "${TERM_BRIGHT}CLEAN\n${TERM_NONE}"
${Q} rm -rf */__pycache__/ */*.pyc
${Q} rm -rf */__pycache__/ */*.pyc
3 changes: 1 addition & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
- master
- Admin > Versions: make new version the default
- Build & publish
- `make sdist`
- `twine upload dist/TestSlide-$VERSION.tar.gz`
- `make twine`
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"sphinx",
"sphinx-autobuild",
"sphinx_rtd_theme",
"twine",
]
},
classifiers=[
Expand Down

0 comments on commit a827ded

Please sign in to comment.