faqts : Computers : Programming : Languages : Python : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 10 people (60%) answered Yes
Recently 3 of 6 people (50%) answered Yes

Entry

Can I create a rpm with only pyc files or do I need the py file also to make package distrubution?

Aug 28th, 2002 23:21
Peter Funk, unknown unknown, Martin von Loewis


No, just the bytecode will do.  However: Please note, that the target
systems need to have the same version of Python installed, since the
format of the bytecode files has changed from Python version to version.
If the target machine has several versions of Python installed, you
have to make sure, that the correct version of Python is invoked.