Skip to content

Commit

Permalink
Fix PyPI register and upload
Browse files Browse the repository at this point in the history
Requires HTTPS now, but just specifying it in pypirc doesn't work ...
  • Loading branch information
waveform80 committed Jun 19, 2016
1 parent 237ded5 commit 3a60a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ release: $(PY_SOURCES) $(DOC_SOURCES) $(DEB_SOURCES)
git commit debian/changelog -m "Updated changelog for release $(VER)"
git tag -s release-$(VER) -m "Release $(VER)"
# update the package's registration on PyPI (in case any metadata's changed)
$(PYTHON) $(PYFLAGS) setup.py register
$(PYTHON) $(PYFLAGS) setup.py register -r https://pypi.python.org/pypi

upload: $(PY_SOURCES) $(DOC_SOURCES) $(DIST_DEB) $(DIST_DSC)
# build a source archive and upload to PyPI
$(PYTHON) $(PYFLAGS) setup.py sdist upload
$(PYTHON) $(PYFLAGS) setup.py sdist upload -r https://pypi.python.org/pypi
# build the deb source archive and upload to Raspbian
dput raspberrypi dist/$(NAME)_$(VER)$(DEB_SUFFIX)_source.changes
dput raspberrypi dist/$(NAME)_$(VER)$(DEB_SUFFIX)_$(DEB_ARCH).changes
Expand Down

0 comments on commit 3a60a08

Please sign in to comment.