On Thu, Nov 5, 2009 at 9:53 PM, Ram Rachum <[email protected]> wrote: [cut] > > I'll be using it my setup.py, and I've also heard about pkg_resources and I'll > want to use that. And maybe there will be more interesting things in > Distribute > that I'll want to use. What do you suggest I should do?
There's a trick to use it without installing it : - add the distribute_setup.py script besides your setup.py script - call the use_setuptools API in setup.py, so distribute gets downloaded then added in the path (see the documentation for that) Although I think the best practice is to ask your users to install Distribute explicitely, because using Distribute under the hood implies that everytime someone runs your setup.py script, it will behave specifically. (and not like Distutils is supposed to behave) For example, when "install" is called, it will install the distribution following its own standard. We are pushing in favor of an unified installation standard for all tools (read PEP 376), and until this goal is reached, I am now also suggesting people not to use the use_setuptools trick, so the end-user knows what is going on. Tarek _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
