Hi, no, I think the "python version is right, actully, I ran the command like 
this.

../../../../Python-2.6/bin/python2.6 setup.py register  sdist upload -r plone

Running it like 
../../../Python-2.6/bin/python2.6 setup.py register  sdist upload -r 
http://plone.org/products

gives me "Upload failed (401): Unauthorized

(my product setup in plones "distutils" has "my.product" set.


Espen

Den 6. apr. 2011 kl. 13.10 skrev Gilles Lenfant-2 [via Plone]:

> Hi, 
> 
> Your ~/.pypirc seems correct. It looks like you are using Python 2.4 to run 
> setup.py. 
> 
> AFAIK this requires Python 2.6, or Python 2.4/2.5 plus "collective.dist", and 
> use "mregister" in place of "register" and "mupload" in place of "upload". 
> 
> HTH 
> -- 
> Gilles Lenfant 
> 
> Le 6 avr. 2011 à 12:17, Espen Moe-Nilssen a écrit : 
> 
> > I tried to setup this, what is wrong here: 
> > 
> > [distutils] 
> > index-servers = 
> >    pypi 
> >    plone 
> > 
> > [pypi] 
> > username:espen 
> > password:xxxxxxxx 
> > 
> > [plone] 
> > respository: http://plone.org/products
> > username: espenmn 
> > password: xxxxxxxxx 
> > 
> > 
> > ----------------------- 
> > 
> > 
> > setup.py  register sdist upload -r plone 
> > 
> > tries to upload to py 
> > 
> > 
> > Espen 
> > 
> > 
> > View this message in context: Re: Releasing plugins to pypi AND plone.org 
> > Sent from the Product Developers mailing list archive at Nabble.com. 
> > _______________________________________________ 
> > Product-Developers mailing list 
> > [hidden email] 
> > https://lists.plone.org/mailman/listinfo/product-developers
> 
> _______________________________________________ 
> Product-Developers mailing list 
> [hidden email] 
> https://lists.plone.org/mailman/listinfo/product-developers
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://plone.293351.n2.nabble.com/Releasing-plugins-to-pypi-AND-plone-org-tp6237288p6245604.html
> To unsubscribe from Plone, click here.



--
View this message in context: 
http://plone.293351.n2.nabble.com/Releasing-plugins-to-pypi-AND-plone-org-tp6237288p6246091.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to