On Fri, Nov 13, 2009 at 1:08 AM, David Cournapeau <courn...@gmail.com> wrote: [..] > >> $ python setup.py --prefix=foo cmd1 cmd1 etc >> >> and the result would be in Distribution.options = {'path1': xxx, 'path2': xx} > > This is a major change in distutils behavior, so we need to solve the > following issues: > - every user will have to change how to call distutils > - what happens if people still use python setup.py install > --option1=foo instead of python setup.py --prefix=option1 install
A deprecation warning would be added in install, if it finds a local option, rather than a global. Meaning both would work in 2.7/3.2. That would give them 18 to 24 months * 2 to go with the new style. Tarek _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig