[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-09-30 Thread Alexander Dreyer

Alexander Dreyer  added the comment:

The idea is, that an environment variable can be set globally by the 
master-build system or the packaging system. In contrary, the --no-user-cfg 
switch has to be added to the build description of each individial package. For 
strongly community-driven projects - like Sage - it is very likely, that this 
will be forgotten by some package maintainers. Since usually .pydistutils.cfg 
is not used in automated test environments this error will be detected, when a 
package is accepted.

--

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-09-30 Thread Alexander Dreyer

Alexander Dreyer  added the comment:

Of course, I mean: The error will *not* be detected...

--

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9309] Add environment variable complementing command line option -no-user-cfg

2011-03-21 Thread Alexander Dreyer

Alexander Dreyer  added the comment:

If a another solution via virtualenv could do it, I'd prefer that, too.

--

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-19 Thread Alexander Dreyer

New submission from Alexander Dreyer :

At the Sage Days 24 coding sprint the issue came up, that the setup.py install 
programs of several python-based tools pick the prefix-setting from 
~/.pydistutils.cfg. 
http://trac.sagemath.org/sage_trac/ticket/9536

In order to get this right, we suggest to introduce the environment variable 
DISTUTILS_NO_USER_CFG. It can be used like the --no-user-cfg commandline option 
supported by distutils.

Best regards

--
assignee: tarek
components: Distutils
files: dist.py.patch
keywords: patch
messages: 110811
nosy: AlexanderDreyer, tarek
priority: normal
severity: normal
status: open
title: Add environment variable complementing command line option -no-user-cfg
type: feature request
versions: Python 2.5
Added file: http://bugs.python.org/file18069/dist.py.patch

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Changes by Alexander Dreyer :


Added file: http://bugs.python.org/file18085/dist.py.patch

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Alexander Dreyer  added the comment:

Added better patch (checks environment first).

--

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Changes by Alexander Dreyer :


Removed file: http://bugs.python.org/file18069/dist.py.patch

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Alexander Dreyer  added the comment:

The patch is originating from Sage Days 24. Sage (http://www.sagemath.org) 
distributes a bunch of mathematical python-based software. The integration of 
the individual packages is done by individual people which might not use 
--no-user-cfg in their install scripts. So we needed a way to ensure this via 
the environment.

Best regards,
  Alexander

--

___
Python tracker 
<http://bugs.python.org/issue9309>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com