[issue17732] distutils.cfg Can Break venv

2013-05-05 Thread Nick Sloan
Nick Sloan added the comment: Just checking to see if anything else is needed from me on this. -- ___ Python tracker <http://bugs.python.org/issue17732> ___ ___

[issue17732] distutils.cfg Can Break venv

2013-04-22 Thread Nick Sloan
Nick Sloan added the comment: Éric, Fixed the mention of packages, and made a frozenset of ignore_options. Think this thing is ready to go. I have tested it, and it does the trick. Thanks for helping me get this patch merged in. -- Added file: http://bugs.python.org/file29976

[issue17732] distutils.cfg Can Break venv

2013-04-19 Thread Nick Sloan
Nick Sloan added the comment: Here is another update. It has come to my attention that I missed some options: prefix, exec-prefix, home, user and root These have been added, and the docs and test have been updated to reflect the change. -- Added file: http://bugs.python.org/file29940

[issue17732] distutils.cfg Can Break venv

2013-04-19 Thread Nick Sloan
Nick Sloan added the comment: Responded to comments with an updated patch. Thanks for all the feedback, and sorry for the silly mistakes. Should have read up more thoroughly on the docs style guide and the terminology. Hopefully the latest patch is ready to go (or at least, nearly so

[issue17732] distutils.cfg Can Break venv

2013-04-18 Thread Nick Sloan
Nick Sloan added the comment: Any feedback on this latest patch? -- ___ Python tracker <http://bugs.python.org/issue17732> ___ ___ Python-bugs-list mailin

[issue17732] distutils.cfg Can Break venv

2013-04-16 Thread Nick Sloan
Nick Sloan added the comment: Whoops. One of the options I had in my list doesn't actually exist. Here is yet another update. -- Added file: http://bugs.python.org/file29889/distutilsvenv.patch ___ Python tracker <http://bugs.python.org/is

[issue17732] distutils.cfg Can Break venv

2013-04-16 Thread Nick Sloan
Nick Sloan added the comment: That is, errors that pre-existed my patch. -- ___ Python tracker <http://bugs.python.org/issue17732> ___ ___ Python-bugs-list mailin

[issue17732] distutils.cfg Can Break venv

2013-04-16 Thread Nick Sloan
Nick Sloan added the comment: Here is an updated patch with documentation changes and a new test. 5 tests in distutils have errors. I have left those alone for now. -- Added file: http://bugs.python.org/file29888/distutilsvenv.patch ___ Python

[issue17732] distutils.cfg Can Break venv

2013-04-15 Thread Nick Sloan
Nick Sloan added the comment: My thought was that perhaps there will be other circumstances where we may want to ignore options in the future. The idea was that by providing an ignore_options list that can be extended, multiple conditions with different sets of options can be stacked together

[issue17732] distutils.cfg Can Break venv

2013-04-15 Thread Nick Sloan
Nick Sloan added the comment: On second thought, there is probably no good reason to ignore the build-* settings. Here is an updated patch. -- Added file: http://bugs.python.org/file29873/distutilsvenv.patch ___ Python tracker <h

[issue17732] distutils.cfg Can Break venv

2013-04-15 Thread Nick Sloan
Nick Sloan added the comment: Here is a patch that seems to fix the problem. It simply short-circuits distutils options that change directories. This is my first python patch ever, so I'm eager for comments. Is this the right approach? -- keywords: +patch Added file:

[issue17732] distutils.cfg Can Break venv

2013-04-15 Thread Nick Sloan
Nick Sloan added the comment: That's along the lines of what I've been thinking as I dig into this. I'd love to take a stab at a patch for this if no one else has done so already. -- ___ Python tracker <http://bugs.pyt

[issue17732] distutils.cfg Can Break venv

2013-04-14 Thread Nick Sloan
Nick Sloan added the comment: It looks like virtualenv includes an empty distutils.cfg at myvirtualenv/lib/python3.3/distutils/distutils.cfg. Most of myvirtualenv/lib/python3.3 is just symlinked to the base python version, but myvirtualenv/lib/python3.3/distutils/ is not, and I bet this is

[issue17732] distutils.cfg Can Break venv

2013-04-14 Thread Nick Sloan
New submission from Nick Sloan: When distutils.cfg defines an install-lib, it will be used within virtual environments created using venv as well, which makes it impossible to install things with setup.py or similar. Steps to reproduce: Create a distutils.cfg file and set a value for install