On Thu, Jan 21, 2010 at 11:30 AM, Riccardo-Maria BIANCHI
Good morning,
I'm using distutils to package a tool, and I was thinking that it would be very useful to have the self.install_lib variable returned in some way to the user in the setup.py script, after the call of setup().
setup() returns the distribution object, which have a get_command_obj() function you can call to get back to the commands that were run, therefore their options. But I don't think you want to do this just to be able to run a standalone distribution. You can change the PYTHONPATH environment variable for what you need, *or* use Distribute/Setuptools' "develop" command, that allows you to run a distribution "inplace". It creates a special file in site-package that is comparable to a symbolic link pointing to your project. Regards Tarek -- Tarek Ziadé | http://ziade.org