Packaging .py files

Patryk Zawadzki patrys w pld-linux.org
Śro, 16 Lip 2008, 15:31:41 CEST


On Wed, Jul 16, 2008 at 3:17 PM, Mateusz Korniak <mateusz w ant.gliwice.pl> wrote:
> On Wednesday 16 of July 2008, Patryk Zawadzki wrote:
>> I'd like to start
>> packaging .py files along with their bytecode counterparts. The
>> reasoning:
>>
>> 1) It's much easier to find bugs in your own code (...)
>>
>> 2) It's much easier to trace faulty applications (...)
>>
>> 3) We'll no longer need to patch multiple applications that either use
>> codegen.py (patches for this are all over the place) or use
>> glob("*.py") to find their plugins.
>>
>> I'm not planning a mass commit or anything but I'll start packaging
>> the sources instead of removing them when commiting from now on.
>>
>> Please no "save the 1k of disk space" arguments.
>
> We can pack *.py and *.pyo (instead of *.pyc *.pyo) archiving almost same and
> having "save the 1k of disk space" ;)

Yeah, having .pyc files next to their optimized versions would be useless.

-- 
Patryk Zawadzki
PLD Linux Distribution


Więcej informacji o liście dyskusyjnej pld-devel-pl