Try setuptools?

Thomas Arendsen Hein thomas at intevation.de
Sat Jan 6 19:37:21 UTC 2007


* Daniel Holth <dholth at fastmail.fm> [20070106 16:59]:
> Thomas Arendsen Hein wrote:
> >> +try:
> >> +    from setuptools import setup
> >> +except ImportError:
> >> +    from distutils.core import setup
> >
> > I'm not familiar with setuptools, but for playing with the latest
> > mercurial source code, just do 'make local', or if you don't have
> > make available 'python setup.py build_ext -i'.
> 
> Setuptools is sortof an apt-get but for Python modules. It extends
> distutils.

While this sounds interesting and might be a nice addition for
Mercurial, I fear that people will start using it and miss the
features currently only provided by the Makefile.

We already started to rip out parts of distutils with generating the
MANIFEST file using hg itself instead of MANIFEST.in, and without
using enough --force distutils bit us more than once. The Makefile
takes care of all this.

If you want to provide these new features to users, we either need
it available from the Makefile (to work around distutils issues), or
we need to improve setup.py to not have these issues.

So a patch with 'make egg' and whatever this 'develop' thing is,
with an example of what it does, and you'll get my +1 on this :)

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/



More information about the Mercurial mailing list