pip找不到最新版本的pypi项目

Dav*_*ith 5 django installation pip virtualenv

我正在尝试使用pip 安装http://pypi.python.org/pypi/django-crowdsourcing/1.1.21.我越来越

$ pip install django-crowdsourcing==1.1.21
Downloading/unpacking django-crowdsourcing==1.1.21
  Could not find a version that satisfies the requirement django-crowdsourcing==1.1.21 (from versions: )
No distributions matching the version for django-crowdsourcing==1.1.21
Run Code Online (Sandbox Code Playgroud)

如果我尝试升级,它只能找到版本1.1.19.

$ pip install -v --upgrade django-crowdsourcing
Downloading/unpacking django-crowdsourcing
  Using version 1.1.19 (newest of versions: 1.1.19, 1.1.18, 1.1.17, 1.1.16, 1.1.15, 1.1.14, 1.1.13, 1.1.12, 1.1.11, 1.1.10, 1.1.9, 1.1.8, 1.1.7, 1.1.6)
  Downloading django-crowdsourcing-1.1.19.tar.gz (651Kb): 651Kb downloaded
  ...
Successfully installed django-crowdsourcing
Run Code Online (Sandbox Code Playgroud)

看起来django-crowdsourcing版本1.1.21有一些好的标签

$ hg tags
tip                              289:8796aae85e34
1.1.21                           288:2f39596495a7
1.1.20                           281:fe00699aa3ff
1.1.19                           278:17392ea8ea54
Run Code Online (Sandbox Code Playgroud)

和setup.py中的正确版本号

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

import os
readme_file = os.path.join(os.path.dirname(__file__),
                           'README')
long_description = open(readme_file).read()

classifiers = [
    'Development Status :: 4 - Beta',
    'Framework :: Django',
    'License :: OSI Approved :: MIT License']


setup(name='django-crowdsourcing',
      version='1.1.21',
      classifiers=classifiers,
      description='Django app for collecting and displaying surveys.',
      long_description=long_description,
      author='Jacob Smullyan, Dave Smith',
      author_email='jsmullyan@gmail.com',
      url='http://code.google.com/p/django-crowdsourcing/',
      packages=['crowdsourcing', 'crowdsourcing.templatetags'],
      license='MIT',
     )
Run Code Online (Sandbox Code Playgroud)

PyPi清楚地知道版本1.1.21,因为当你去http://pypi.python.org/pypi/django-crowdsourcing/时会出现这个问题为什么pip认为版本1.1.19是最新版本?

编辑

怯懦地,我忘了指出我是维护者.@Matthew Schinckel是对的.以下是我需要的两个命令,我从之前没有看到的教程中找到了这些命令:http://wiki.python.org/moin/Distutils/Tutorial

$ python setup.py register
$ python setup.py sdist upload
Run Code Online (Sandbox Code Playgroud)

Mat*_*kel 2

1.1.21版本没有打包文件。2019 年 1 月 1 日有一个。hg 中的标签对 pip 没有任何意义:它只会下载打包的文件。

也许联系维护者,并指出 pypi 上的两个最新版本没有文件发布。