Skip to content

Commit 359836a

Browse files
committed
Fix pypi push
Have to use HTTPS for pypi now
1 parent 6a56fb0 commit 359836a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ release: $(PY_SOURCES) $(DOC_SOURCES) $(DEB_SOURCES)
161161
git commit debian/changelog -m "Updated changelog for release $(VER)"
162162
git tag -s v$(VER) -m "Release v$(VER)"
163163
# update the package's registration on PyPI (in case any metadata's changed)
164-
$(PYTHON) $(PYFLAGS) setup.py register
164+
$(PYTHON) $(PYFLAGS) setup.py register -r https://pypi.python.org/pypi
165165

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

0 commit comments

Comments
 (0)