Fix pypi push

Have to use HTTPS for pypi now
This commit is contained in:
Dave Jones
2016-08-31 00:17:30 +01:00
parent 6a56fb0013
commit 359836a383

View File

@@ -161,11 +161,11 @@ release: $(PY_SOURCES) $(DOC_SOURCES) $(DEB_SOURCES)
git commit debian/changelog -m "Updated changelog for release $(VER)"
git tag -s v$(VER) -m "Release v$(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