summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-February/012193.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-February/012193.html')
-rw-r--r--zarb-ml/mageia-dev/2012-February/012193.html127
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:
+&gt;<i> On 20/02/12 20:15, Lev Givon wrote:
+</I>&gt;<i> &gt;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>&gt;<i> &gt;Anyone care to comment?
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; L.G.
+</I>&gt;<i> To make replying easier, here is the question from the above link:
+</I>&gt;<i>
+</I>&gt;<i> &gt; By default, virtualenv creates virtual environments using setuptools rather
+</I>&gt;<i> &gt; than distribute. This causes virtualenv to complain if PYTHONDONTWRITEBYTECODE
+</I>&gt;<i> &gt; is set (which is the default in Mageia):
+</I>&gt;<i>
+</I>&gt;<i> &gt; The PYTHONDONTWRITEBYTECODE environment variable is not compatible with
+</I>&gt;<i> &gt; setuptools. Either use --distribute or unset PYTHONDONTWRITEBYTECODE.
+</I>&gt;<i>
+</I>&gt;<i> &gt; Do we effectively want to require users to explicitly set the variable in order
+</I>&gt;<i> &gt; to use virtualenv with its default settings? (If we do, I can add an
+</I>&gt;<i> &gt; installation message to the package to warn users to unset the variable
+</I>&gt;<i> &gt; themselves.)
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> To me current behaviour as described above sounds strange, even
+</I>&gt;<i> irritating, but I'm not a packager and I don't even use the package,
+</I>&gt;<i> so I don't know enough.
+</I>&gt;<i>
+</I>&gt;<i> @ Lev
+</I>&gt;<i> I understand in Mandriva virtualenv the default settings can be used
+</I>&gt;<i> without having to unset a variable, and that that doesn't cause
+</I>&gt;<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.
+
+&gt;<i> If so, and if no one cares to reply to this mail or in the bug
+</I>&gt;<i> report, I think you can just go ahead and change the default
+</I>&gt;<i> environment variable from PYTHONDONTWRITEBYTECODE to whatever
+</I>&gt;<i> Mandriva's default is. If that causes any new problems, we'll find
+</I>&gt;<i> out soon enough when the package is in cauldron ;)
+</I>&gt;<i>
+</I>&gt;<i> Regards,
+</I>&gt;<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>