Creating an RPM which works with multiple Python versions?

"Martin v. Löwis" martin at
Mon Jun 7 07:46:20 CEST 2004

Edwin Young wrote:

> What's recommended here?

There is a fourth one: Install to /usr/lib/site-python. This
is a location that is shared across different Python releases.

Be careful not to put bytecode files into this location, since
bytecode files may become invalid across Python releases.


More information about the Python-list mailing list