On 20/02/12 20:15, Lev Givon wrote:
See https://bugs.mageia.org/show_bug.cgi?id=3358#c3
Anyone care to comment?

                                        L.G.
To make replying easier, here is the question from the above link:

 By default, virtualenv creates virtual environments using setuptools rather
 than distribute. This causes virtualenv to complain if  PYTHONDONTWRITEBYTECODE
 is set (which is the default in Mageia):

 The PYTHONDONTWRITEBYTECODE environment variable is not compatible with
 setuptools. Either use --distribute or unset PYTHONDONTWRITEBYTECODE.

 Do we effectively want to require users to explicitly set the variable in order
 to use virtualenv with its default settings? (If we do, I can add an
 installation message to the package to warn users to unset the variable
 themselves.)


To me current behaviour as described above sounds strange, even irritating, but 
I'm not a packager and I don't even use the package, so I don't know enough.

@ Lev
I understand in Mandriva virtualenv the default settings can be used without 
having to unset a variable, and that that doesn't cause other problems.
Is that correct?

If so, and if no one cares to reply to this mail or in the bug report, I think 
you can just go ahead and change the default environment variable from
PYTHONDONTWRITEBYTECODE to whatever Mandriva's default is. If that causes any 
new problems, we'll find out soon enough when the package is in cauldron ;)

Regards,
Marja


Reply via email to