我是一个软件包维护者,并且在pip上有一个库 - Django-spaghetti-and-meatballs。
setup.py
imports some code that clearly states it is version 0.2.0 但是当用户尝试运行pip install django-spaghetti-and-meatballs==0.2.0
时,他们(和我)会得到:
legostormtroopr:~/workspace $ pip install django-spaghetti-and-meatballs==0.2.0
Downloading/unpacking django-spaghetti-and-meatballs==0.2.0
Could not find a version that satisfies the requirement django-spaghetti-and-meatballs==0.2.0 (from versions: 0.1.0, 0.1.0rc5, 0.1.1)
Cleaning up...
No distributions matching the version for django-spaghetti-and-meatballs==0.2.0
Storing debug log for failure in /home/ubuntu/.pip/pip.log
我做错了什么?
PS。链接到图书馆等感觉有点垃圾,但这是一个问题,我觉得最好直接指出问题。
答案 0 :(得分:1)
通过查看以下列表:https://pypi.python.org/simple/django-spaghetti-and-meatballs/,您可以看到尚未上传滚轮。
跑步:
python setup.py bdist_wheel upload
将重建轮子并上传。