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
|
<!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=%3C4F4366FC.7050003%40xs4all.nl%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="012158.html">
<LINK REL="Next" HREF="012193.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=%3C4F4366FC.7050003%40xs4all.nl%3E"
TITLE="[Mageia-dev] python-virtualenv: package default settings question">marja11 at xs4all.nl
</A><BR>
<I>Tue Feb 21 10:42:20 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012158.html">[Mageia-dev] package default settings question
</A></li>
<LI>Next message: <A HREF="012193.html">[Mageia-dev] python-virtualenv: package default settings question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12181">[ date ]</a>
<a href="thread.html#12181">[ thread ]</a>
<a href="subject.html#12181">[ subject ]</a>
<a href="author.html#12181">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 20/02/12 20:15, Lev Givon wrote:
><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>To make replying easier, here is the question from the above link:
><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>
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
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="012158.html">[Mageia-dev] package default settings question
</A></li>
<LI>Next message: <A HREF="012193.html">[Mageia-dev] python-virtualenv: package default settings question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12181">[ date ]</a>
<a href="thread.html#12181">[ thread ]</a>
<a href="subject.html#12181">[ subject ]</a>
<a href="author.html#12181">[ 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>
|