[Distutils] eggs: Python version independence

Bob Ippolito bob at redivi.com
Mon Jul 4 03:32:02 CEST 2005


On Jul 3, 2005, at 3:07 PM, Ian Bicking wrote:

> Most (90%+) of the libraries I work with don't depend on a Python
> version.  But unfortunately when using easy_install/eggs they always
> have an explicit version, and multiple installations are necessary
> otherwise.

You shouldn't have a site-packages that multiple Python interpreters  
are stomping on.. so I don't see how you can avoid this anyway.

> Generally speaking, all pure-Python packages are version independent.
> At least on the source level.  I suppose .pyc files aren't always
> (though they haven't changed for a long time, have they?) -- would  
> it be
> reasonable to have version-independent packages?

Python 2.4 can use Python 2.3 bytecode, but not vice versa.

-bob



More information about the Distutils-SIG mailing list