porting modules to Python 3.0

"Martin v. Löwis" martin at v.loewis.de
Wed Dec 3 03:02:21 EST 2008


> In one has both 2.x and 3.0 installed, would it easy to install 'lib.py'
> for both?

It's currently not possible to install something for 2.x; you have to
specifically install it for every value of x (e.g. 2.5 or 2.6).

It's the same for 3.0: you have to install it separately.

Doing so is fairly easy. You just run "setup.py install" multiple
times (or download and install prebuilt binaries if available).

Regards,
Martin



More information about the Python-list mailing list