On 2/9/06, Ben Bangert <[EMAIL PROTECTED]> wrote:
> It's mainly because Routes is relied on by quite a few other
> setuptools-enabled packages, so being able to easy install it was
> necessary. I didn't have a non-setuptools build mainly because I
> couldn't see how to setup a setup.py file in such a way that I could
> make both versions at once. I'm assuming I'd need two setup.py's and
> to swap them in the build depending on if it was a setuptools build
> or not.

Could you do something like this:

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

On your system, you'd then be able to build eggs at will. Other people
who download an sdist but don't have setuptools will just get normal
sdist-like behavior.

Kevin
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to