You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I don't get my package with pip after "twine upload dist/*" #281
Releases to PyPI are performed by updating the version metadata on setup.py and then running the following commands (with the proper version number and date):
# cleanup
rm build/ -rf
rm dist/ -rf
rm venv/ -rf
# create a fresh python virtual env
virtualenv venv
. venv/bin/activate
# Remove the '-git' suffix and bump up the version number on setup.py
vim setup.py
git add setup.py
git commit -m "Updating version in preparation for a new release"
# install fontbakery on it and run our code tests
pip install .
pip install pytest
pytest Lib/fontbakery --verbose
# crate the package
python setup.py bdist_wheel
# Register a git tag for this release and publish it
git tag -a v0.3.3 -m "FontBakery version 0.3.3 (2017-11-23)"
git push upstream --tags
# and finally upload the new package to PyPI
twine upload dist/*
# Then we append a '-git' suffix on setup.py
vim setup.py
git add setup.py
git commit -m "Adding '-git' to version for the next release cycle"
Activity
sigmavirus24 commentedon Nov 24, 2017
I can reproduce your problems with pip, that said, I can also download the file directly from PyPI using https://files.pythonhosted.org/packages/a3/b9/9744b9ffe0629711be58930cec3cde6c1d23b6cf31fe30affe138622ed92/fontbakery-0.3.3-py2-none-any.whl
I can't explain to you why pip won't select that file for you. This definitely seems to be a bug in the interaction between pip and PyPI.