Sto provando a installare http://pypi.python.org/pypi/django-crowdsourcing/1.1.21 utilizzando pip. Sto ottenendopip non riesce a trovare le ultime versioni di un progetto pypi
$ 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
Se provo un aggiornamento, trova solo la versione 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
Sembra versione django-crowdsourcing 1.1.21 ha alcune buone tag
$ hg tags
tip 289:8796aae85e34
1.1.21 288:2f39596495a7
1.1.20 281:fe00699aa3ff
1.1.19 278:17392ea8ea54
e il numero di versione corretta in 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='[email protected]',
url='http://code.google.com/p/django-crowdsourcing/',
packages=['crowdsourcing', 'crowdsourcing.templatetags'],
license='MIT',
)
Cheese Shop chiaramente sa sulla versione 1.1 .21 dato che è quello che succede quando vai a http://pypi.python.org/pypi/django-crowdsourcing/ Perché pip pensa che la versione 1.1.19 sia l'ultima versione?
Modifica
Timidamente, ho dimenticato di sottolineare Sono il manutentore. @ Matthew Schinckel ha ragione. Qui ci sono i due comandi di cui avevo bisogno, che ho trovato fuori da un tutorial che non ho visto prima: http://wiki.python.org/moin/Distutils/Tutorial
$ python setup.py register
$ python setup.py sdist upload
L'ultimo collegamento di Distutils è rotto. – Eye