disable register and upload commands for a setup.py
4 Jul
2007
4 Jul
'07
9:18 p.m.
What would be the most reliable way to disable, with error output, the PyPI 'register' and/or 'upload' commands for a given setup.py? This is for developing certain python egg/packages having setup.py:setup() including full package metadata, but which should never (or not yet) accidentally be registered with PyPI. Thanks.
4 Jul
4 Jul
11:09 p.m.
At 05:18 PM 7/4/2007 -0400, Jeff Kowalczyk wrote:
What would be the most reliable way to disable, with error output, the PyPI 'register' and/or 'upload' commands for a given setup.py?
See the 'cmdclass' argument to distutils.core.setup(). (You can use it to specify alternative implementations of 'register' and 'upload', that do whatever you want.)
6355
Age (days ago)
6355
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jeff Kowalczyk
-
Phillip J. Eby