This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gwrtheyrn
Recipients eric.araujo, gwrtheyrn, tarek
Date 2013-02-06.16:10:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360167032.54.0.0794749413911.issue17144@psf.upfronthosting.co.za>
In-reply-to
Content
Where I work, we use a custom pypi server to upload our internal packages.

With a package that has a setup.py created using setuptools, I can simply issue:

$ python setup.py sdist register upload -r local

...and it will get registered and uploaded to our local server.

If setup.py is using distutils though, this does not work and the -r argument gets ignored. The command above would register and upload the package to pypi.python.org (which can in some situations be a security problem).

As a workaround, this works:

$ python setup.py register -r local
$ python setup.py sdist upload -r local

Tested under Python 2.7...
History
Date User Action Args
2013-02-06 16:10:32gwrtheyrnsetrecipients: + gwrtheyrn, tarek, eric.araujo
2013-02-06 16:10:32gwrtheyrnsetmessageid: <1360167032.54.0.0794749413911.issue17144@psf.upfronthosting.co.za>
2013-02-06 16:10:32gwrtheyrnlinkissue17144 messages
2013-02-06 16:10:32gwrtheyrncreate