[Distutils] ..\setup.py relative invocation

Éric Araujo merwok at netwok.org
Sun May 9 19:52:49 CEST 2010


>> Does distutils2 fix this?
>>
>> I ask, because it adds another "save cwd;cd;...;restore cwd" yak
>> shaving wrapper to development process, and the error message for
>> failure is not very intuitive.

You could also use a subshell (i.e. ”(cd somewhere && ./setup.py cmd)”)
but that’s also an ugly workaround.

make has a -C option that takes as argument the directory to cd to
before running. Would something like that be ok?

Regards


More information about the Distutils-SIG mailing list