-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
671f175
commit e06b85e
Showing
3 changed files
with
11 additions
and
4 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,11 +1,14 @@ | ||
.PHONY: pypi, tag | ||
.PHONY: pypi, tag, test | ||
|
||
pypi: | ||
rm dist/* | ||
rm -f dist/* | ||
python setup.py sdist | ||
twine upload --config-file=.pypirc dist/* | ||
make tag | ||
|
||
tag: | ||
git tag $$(python -c "from event_consumer.__about__ import __version__; print __version__") | ||
git push --tags | ||
|
||
test: | ||
PYTHONPATH=. py.test -v -s --pdb tests/ |
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
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