[Distutils] Python version numbers and jython, IronPython, PyPy, and ShedSkin (was: setuptools on jython)
Matt Good
matt at matt-good.net
Wed Jan 23 03:32:08 CET 2008
On Jan 22, 2008, at 8:35 AM, zooko wrote:
> If setuptools works on jython, what does it use for the "pyX.Y" part
> of the egg names?
I would assume/hope that it uses py2.2 since that's the Python
version they're currently compatible with.
> Or will jython, IronPython, PyPy, and ShedSkin specify some X.Y
> version of CPython that they support?
Jython does already:
$ jython
Jython 2.2a0 on java1.5.0_13 (JIT: null)
>>> import sys
>>> sys.version_info
(2, 2, 0, 'alpha', 0)
They should use the CPython version numbers to indicate what version
of the language specification they implement.
If they support compiled platform-specific extensions in eggs they
could append an identifier like the CPython eggs do now for compiled
extensions (e.g. Foo-1.1-py2.2-jython).
-- Matt
More information about the Distutils-SIG
mailing list