8000 Upload packages with twine · flask-api/flask-api@8d097ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d097ef

Browse files
committed
Upload packages with twine
1 parent 5be9eea commit 8d097ef

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,18 @@ mkdocs-live: mkdocs
153153
eval "sleep 3; open http://127.0.0.1:8000" &
154154
$(MKDOCS) serve
155155

156+
# BUILD ########################################################################
157+
158+
DIST_FILES := dist/*.tar.gz dist/*.whl
159+
160+
.PHONY: dist
161+
dist: install $(DIST_FILES)
162+
$(DIST_FILES): $(MODULES)
163+
rm -f $(DIST_FILES)
164+
$(PYTHON) setup.py check --restructuredtext --strict --metadata
165+
$(PYTHON) setup.py sdist
166+
$(PYTHON) setup.py bdist_wheel
167+
156168
# RELEASE ######################################################################
157169

158170
TWINE := pipenv run twine

Pipfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ coverage = "~=3.7.1"
1111
"coverage.space" = "*"
1212
flake8 = "~=2.1"
1313
mkdocs = "==0.12"
14+
docutils = "*"
1415
sniffer = "*"
16+
twine = "*"

Pipfile.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0