[Distutils] distributing only .pyc with stdeb

Chris Withers chris at simplistix.co.uk
Mon Nov 29 21:25:51 CET 2010


On 22/11/2010 20:13, Barry Warsaw wrote:
> On Nov 22, 2010, at 01:55 AM, Karel Antonio Verdecia Ortiz wrote:
>
>> I'm using stdb to generate .deb packages for ubuntu but I need this packages
>> to contain only the compiled modules (.pyc) and not the source modules
>> (.py). ¿What parameters have I to use to get only the .pyc files?
>
> Including only the .pyc files would mean that your package was not free
> software, and so it would violate the Debian Free Software Guideline.  Thus
> I'd be surprised if the tool supported that use case easily or directly.

Nevermind that .pyc's are but a sneeze away from the actual source 
anyway ;-)

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list