Skip to content

Commit

Permalink
Add upload command to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgilmerproj committed Sep 26, 2016
1 parent e34242d commit f245775
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CHANGELOG

## Version 0.0.6

## Version 0.0.5

- Add __repr__, __eq__ and __ne__ to all classes
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include CONTRIBUTING.md
include LICENSE.txt
include README.rst
include README.md
graft examples
graft tests
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WITH_VENV=. $(VENV_ACTIVATE);
TEST_OUTPUT?=nosetests.xml
COVERAGE_OUTPUT?=coverage.xml

.PHONY: help venv setup clean teardown lint test package
.PHONY: help venv setup clean teardown lint test package upload install

help: ## Print the help documentation
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
Expand Down Expand Up @@ -49,6 +49,9 @@ test: ## Run unit tests
package: clean ## Create the python package
python setup.py build

upload: clean ## Upload the python package
python setup.py build sdist check upload -r pypi

install: ## Install the python package
$(WITH_VENV) python setup.py install

Expand Down

0 comments on commit f245775

Please sign in to comment.