python - pip not getting current version -
i have django app published on github, mirror on pypi create installation easy. it's been @ version 1.3 year, 12 hours ago bumped new version 1.4 on pypi. hid version 1.3 on pypi , made sure references new version. but
pip install my-package
still pulls downwards version 1.3. , specifying version:
pip install my-package==1.4
returns
could not find version satisfies requirement my-package==1.4 (from versions: 1.3)
various posts suggest removing pip's tmp directory, can't find 1 (either in /tmp
or in ~/.pip
. , can't find mention of caching delays @ pypi.
am missing something?
ideally i'd love have pypi entry point github, that's separate question.
the error message says there no bundle available, matches version string. refers version string of python bundle on pypi.
make sure version string provide in setup.py
file of project matches version you're releasing.
then run python setup.py sdist upload
in project folder create source distribution archive , upload pypi. -- may have delete current, erroneous bundle "1.4" version string pypi beforehand.
python linux pip
No comments:
Post a Comment