Message181540
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... |
|
Date |
User |
Action |
Args |
2013-02-06 16:10:32 | gwrtheyrn | set | recipients:
+ gwrtheyrn, tarek, eric.araujo |
2013-02-06 16:10:32 | gwrtheyrn | set | messageid: <1360167032.54.0.0794749413911.issue17144@psf.upfronthosting.co.za> |
2013-02-06 16:10:32 | gwrtheyrn | link | issue17144 messages |
2013-02-06 16:10:32 | gwrtheyrn | create | |
|