diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110119/002231.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110119/002231.html | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110119/002231.html b/zarb-ml/mageia-dev/20110119/002231.html new file mode 100644 index 000000000..797d24232 --- /dev/null +++ b/zarb-ml/mageia-dev/20110119/002231.html @@ -0,0 +1,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 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>> wrote: +><i> +</I>><i> > The solution of generating bytecode at install time looks fine. I am +</I>><i> > not an RPM specialist though, but if you have non-RPM specific questions +</I>><i> > feel free to ask them, I'd be glad to answer. +</I>><i> +</I>><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 "*.py" that goes somewhere inside /usr/lib/pythonXXX/). + +><i> > What is the issue with "handling 2to3"? It's a developer tool and +</I>><i> > certainly shouldn't be invoked at install time if that's what you are +</I>><i> > asking. Generally, I don't think you (as a packager) have to invoke +</I>><i> > 2to3 manually at all. If 2to3 is part of the packaged software's build +</I>><i> > process, then their setup.py will probably invoke it automatically with +</I>><i> > the right options. +</I>><i> +</I>><i> I as more speaking of the transition from pyton 2 to python 3. I think the easiest +</I>><i> on a policy point of view is to handle this like 2 separate languages, but that mean twice the work. +</I>><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 "twice the work": 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> |