Re: Avoiding releases broken due to missing setuptools_git

2011-02-26 Thread Rocky Burt
I stopped using the setuptools_somevcs extensions due to having bugs crop up when upgrading other software. So now I use DistChecker < http://pypi.python.org/pypi/DistChecker/> before I publish any releases. $ cd pyramid_myproject $ distchecker compare_sdist $ distchecker test_sdist . "di

Avoiding releases broken due to missing setuptools_git

2011-02-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I came up with this approach for setuptools_bzr, but it should apply for git as well. In 'setup.py', define an extension of the 'sdist' command which barfs if the plugin is not installed:: class sdist(_sdist): def run(self): """ Override