Peter Justin 7 лет назад
Родитель
Сommit
ba5eff75fe
1 измененных файлов с 9 добавлено и 1 удалено
  1. 9 1
      Makefile

+ 9 - 1
Makefile

@@ -1,4 +1,4 @@
-.PHONY: clean install help test lint isort run dependencies docs
+.PHONY: clean install help test lint isort run dependencies docs wheel upload
 
 help:
 	@echo "  clean      remove unwanted stuff"
@@ -8,6 +8,8 @@ help:
 	@echo "  lint       check the source for style errors"
 	@echo "  isort      sort the python imports"
 	@echo "  run        run the development server with the development config"
+	@echo "  wheel      creates a wheel package of flaskbb"
+	@echo "  upload     uploads a new version of FlaskBB to PyPI"
 	@echo "  docs       build the documentation"
 
 dependencies:requirements.txt
@@ -47,3 +49,9 @@ isort:check-isort
 
 check-isort:
 	@type isort >/dev/null 2>&1 || echo "isort is not installed. You can install it with 'pip install isort'."
+
+wheel:
+	python setup.py bdist_wheel
+
+upload:wheel
+	twine upload dist/*