![](https://secure.gravatar.com/avatar/363319352c3c95f818e6776dd483ba2e.jpg?s=120&d=mm&r=g)
July 4, 2007
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.