[Distutils] ..\setup.py relative invocation (was: [issue108] develop install fails if path to setup.py is relative)

Tarek Ziadé ziade.tarek at gmail.com
Sun May 9 23:58:57 CEST 2010

On Sun, May 9, 2010 at 2:21 PM, anatoly techtonik <techtonik at gmail.com> wrote:
> setup.py fails miserably when invoked using relative path, i.e.
> `python ../../setup.py ...`. In this case it attempts to look up
> referenced files in current directory - not in its own dir.
> What is it needed for?
> Does distutils2 fix this?

No, but one long term goal of distutils2 is to make setup.py optional,
meaning that the commands
will be run using for example a -m call that could look like this:

$ python -m distutils2 run install

And could take the project root path as an option :

$ python -m distutils2 run install -p /here/is/the/project


Tarek Ziadé | http://ziade.org

More information about the Distutils-SIG mailing list