mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix pypi push
Have to use HTTPS for pypi now
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user