diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-February/012193.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-February/012193.html | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-February/012193.html b/zarb-ml/mageia-dev/2012-February/012193.html new file mode 100644 index 000000000..2c62fbc8c --- /dev/null +++ b/zarb-ml/mageia-dev/2012-February/012193.html @@ -0,0 +1,127 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] python-virtualenv: package default settings question + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20python-virtualenv%3A%20package%20default%20settings%0A%09question&In-Reply-To=%3C20120221155813.GE20159%40avicenna.ee.columbia.edu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="012181.html"> + <LINK REL="Next" HREF="012203.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] python-virtualenv: package default settings question</H1> + <B>Lev Givon</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20python-virtualenv%3A%20package%20default%20settings%0A%09question&In-Reply-To=%3C20120221155813.GE20159%40avicenna.ee.columbia.edu%3E" + TITLE="[Mageia-dev] python-virtualenv: package default settings question">lev at columbia.edu + </A><BR> + <I>Tue Feb 21 16:58:13 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="012181.html">[Mageia-dev] python-virtualenv: package default settings question +</A></li> + <LI>Next message: <A HREF="012203.html">[Mageia-dev] python-virtualenv: package default settings question +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12193">[ date ]</a> + <a href="thread.html#12193">[ thread ]</a> + <a href="subject.html#12193">[ subject ]</a> + <a href="author.html#12193">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Received from Marja van Waes on Tue, Feb 21, 2012 at 04:42:20AM EST: +><i> On 20/02/12 20:15, Lev Givon wrote: +</I>><i> >See <A HREF="https://bugs.mageia.org/show_bug.cgi?id=3358#c3">https://bugs.mageia.org/show_bug.cgi?id=3358#c3</A> +</I>><i> >Anyone care to comment? +</I>><i> > +</I>><i> > L.G. +</I>><i> To make replying easier, here is the question from the above link: +</I>><i> +</I>><i> > By default, virtualenv creates virtual environments using setuptools rather +</I>><i> > than distribute. This causes virtualenv to complain if PYTHONDONTWRITEBYTECODE +</I>><i> > is set (which is the default in Mageia): +</I>><i> +</I>><i> > The PYTHONDONTWRITEBYTECODE environment variable is not compatible with +</I>><i> > setuptools. Either use --distribute or unset PYTHONDONTWRITEBYTECODE. +</I>><i> +</I>><i> > Do we effectively want to require users to explicitly set the variable in order +</I>><i> > to use virtualenv with its default settings? (If we do, I can add an +</I>><i> > installation message to the package to warn users to unset the variable +</I>><i> > themselves.) +</I>><i> +</I>><i> +</I>><i> To me current behaviour as described above sounds strange, even +</I>><i> irritating, but I'm not a packager and I don't even use the package, +</I>><i> so I don't know enough. +</I>><i> +</I>><i> @ Lev +</I>><i> I understand in Mandriva virtualenv the default settings can be used +</I>><i> without having to unset a variable, and that that doesn't cause +</I>><i> other problems. Is that correct? +</I> +The Mandriva package uses the same approach as the one in Mageia, +i.e., PYTHONDONTWRITEBYTECODE is unset within +/usr/bin/virtualenv so that it will run successfully without requiring +that the user explicitly unset the variable or run the script with a +specific flag. + +Given that the variable is only set when virtualenv is run to create a +virtual environment and does not affect the variable's setting in a +user's session, I'm inclined to leave the package as-is. + +><i> If so, and if no one cares to reply to this mail or in the bug +</I>><i> report, I think you can just go ahead and change the default +</I>><i> environment variable from PYTHONDONTWRITEBYTECODE to whatever +</I>><i> Mandriva's default is. If that causes any new problems, we'll find +</I>><i> out soon enough when the package is in cauldron ;) +</I>><i> +</I>><i> Regards, +</I>><i> Marja +</I> + L.G. +</PRE> + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="012181.html">[Mageia-dev] python-virtualenv: package default settings question +</A></li> + <LI>Next message: <A HREF="012203.html">[Mageia-dev] python-virtualenv: package default settings question +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12193">[ date ]</a> + <a href="thread.html#12193">[ thread ]</a> + <a href="subject.html#12193">[ subject ]</a> + <a href="author.html#12193">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |