1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<!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=%3C4F448C3C.2060202%40xs4all.nl%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="012193.html">
<LINK REL="Next" HREF="012221.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] python-virtualenv: package default settings question</H1>
<B>Marja van Waes</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=%3C4F448C3C.2060202%40xs4all.nl%3E"
TITLE="[Mageia-dev] python-virtualenv: package default settings question">marja11 at xs4all.nl
</A><BR>
<I>Wed Feb 22 07:33:32 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012193.html">[Mageia-dev] python-virtualenv: package default settings question
</A></li>
<LI>Next message: <A HREF="012221.html">[Mageia-dev] python-virtualenv: package default settings question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12203">[ date ]</a>
<a href="thread.html#12203">[ thread ]</a>
<a href="subject.html#12203">[ subject ]</a>
<a href="author.html#12203">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 21/02/12 16:58, Lev Givon wrote:
><i> Received from Marja van Waes on Tue, Feb 21, 2012 at 04:42:20AM EST:
</I>>><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> The PYTHONDONTWRITEBYTECODE environment variable is not compatible with
</I>>>><i> setuptools. Either use --distribute or unset PYTHONDONTWRITEBYTECODE.
</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> 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>><i> The Mandriva package uses the same approach as the one in Mageia,
</I>><i> i.e., PYTHONDONTWRITEBYTECODE is unset within
</I>><i> /usr/bin/virtualenv so that it will run successfully without requiring
</I>><i> that the user explicitly unset the variable or run the script with a
</I>><i> specific flag.
</I>><i>
</I>><i> Given that the variable is only set when virtualenv is run to create a
</I>><i> virtual environment and does not affect the variable's setting in a
</I>><i> user's session, I'm inclined to leave the package as-is.
</I>><i>
</I>Sounds indeed like there is no urgent reason for a change. Besides,
python-virtualenv users who run both Mageia and Mandriva, or switch
between them, will probably be glad the package behaves the same in both
distro's :)
It's a pity no python-virtualenv users seem interested in this
discussion. There is a (small?) chance they missed it because the
subject line of the first message in the thread didn't mention the
package name, though.
Regards,
Marja
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="012193.html">[Mageia-dev] python-virtualenv: package default settings question
</A></li>
<LI>Next message: <A HREF="012221.html">[Mageia-dev] python-virtualenv: package default settings question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12203">[ date ]</a>
<a href="thread.html#12203">[ thread ]</a>
<a href="subject.html#12203">[ subject ]</a>
<a href="author.html#12203">[ 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>
|