summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110119/002231.html
blob: 797d24232a1c6f2eaf516a2c285b6df7ab20a4d6 (plain)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Python Packaging Policy
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Python%20Packaging%20Policy&In-Reply-To=%3C20110119020718.152fd960%40pitrou.net%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002228.html">
   <LINK REL="Next"  HREF="002233.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Python Packaging Policy</H1>
    <B>Antoine Pitrou</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Python%20Packaging%20Policy&In-Reply-To=%3C20110119020718.152fd960%40pitrou.net%3E"
       TITLE="[Mageia-dev] Python Packaging Policy">solipsis at pitrou.net
       </A><BR>
    <I>Wed Jan 19 02:07:18 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002228.html">[Mageia-dev] Python Packaging Policy
</A></li>
        <LI>Next message: <A HREF="002233.html">[Mageia-dev] Python Packaging Policy
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2231">[ date ]</a>
              <a href="thread.html#2231">[ thread ]</a>
              <a href="subject.html#2231">[ subject ]</a>
              <a href="author.html#2231">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wed, 19 Jan 2011 00:55:40 +0100
Michael scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>&gt; wrote:
&gt;<i> 
</I>&gt;<i> &gt; The solution of generating bytecode at install time looks fine. I am
</I>&gt;<i> &gt; not an RPM specialist though, but if you have non-RPM specific questions
</I>&gt;<i> &gt; feel free to ask them, I'd be glad to answer.
</I>&gt;<i> 
</I>&gt;<i> Well, that's not satisfying from a rpm pov, unfortunately. 
</I>
Can you explain why it isn't? I'm sure other packages generate stuff at
install-time, right? Also, the list of files is well-known (it's
everything named &quot;*.py&quot; that goes somewhere inside /usr/lib/pythonXXX/).

&gt;<i> &gt; What is the issue with &quot;handling 2to3&quot;? It's a developer tool and
</I>&gt;<i> &gt; certainly shouldn't be invoked at install time if that's what you are
</I>&gt;<i> &gt; asking. Generally, I don't think you (as a packager) have to invoke
</I>&gt;<i> &gt; 2to3 manually at all. If 2to3 is part of the packaged software's build
</I>&gt;<i> &gt; process, then their setup.py will probably invoke it automatically with
</I>&gt;<i> &gt; the right options.
</I>&gt;<i> 
</I>&gt;<i> I as more speaking of the transition from pyton 2 to python 3. I think the easiest
</I>&gt;<i> on a policy point of view is to handle this like 2 separate languages, but that mean twice the work.
</I>&gt;<i> And so we should at least try to  do better ( not sure that we can, of course ).
</I>
Handling them as two separate languages looks indeed like the right
thing to do, IMO. In any case, as I said, you shouldn't be the one
wondering about 2to3. Upstream developers do, if that's the conversion
method they chose for their project.

I'm not sure about &quot;twice the work&quot;: you don't need to track twice the
software releases (except for the interpreter itself), or twice the
upstream patches, etc.

Regards

Antoine.


</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002228.html">[Mageia-dev] Python Packaging Policy
</A></li>
	<LI>Next message: <A HREF="002233.html">[Mageia-dev] Python Packaging Policy
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2231">[ date ]</a>
              <a href="thread.html#2231">[ thread ]</a>
              <a href="subject.html#2231">[ subject ]</a>
              <a href="author.html#2231">[ 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>