Creating an RPM which works with multiple Python versions?

Roger Binns rogerb at rogerbinns.com
Mon Jun 7 04:03:11 CEST 2004


Edwin Young wrote:
> 2) Produce separate 2.2 and 2.3 packages. This is kind of a pain for
>    users, so I'd rather not if possible.

That is standard practise for distributing binary Python modules.  Look
at wxPython, win32all etc

> Any suggestions?

You could distribute your app as a whole without relying on an installed
Python or any other libraries.

If you want an example, have a look at dotamatic.sourceforge.net which
ships Windows, Linux and Mac "binaries".  In the source, makedist.py
is the script that produces the right thing on each platform and
the help lists the components used.

Roger





More information about the Python-list mailing list