[Distutils] Providing binary packages for Python versions with different internal unicode representation

Tres Seaver tseaver at palladion.com
Thu Apr 24 18:42:53 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Jung wrote:

> Python interpreters can be compiled by different internal unicode
> representations (UCS2 vs. UCS4). Extension modules using unicode methods of 
> Python internally can not be used with a Python interpreter with a different
> internal unicode representation. What's the deal when you want to provide
> binary packages of an extension module for Python interpreters with 
> different unicode representations....is there some support for doing this
> using setuptools?

Nope.  A better strategy is not to provide binaries at all.  Instead,
provide only 'sdist' distributions, and let people build compatible
extensions themselves.  For tool-deficient Windows users, provide a
binary built using the "default" Python interpreter for that release.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIELiN+gerLs4ltQ4RAiRoAKCh86yd1VmErKiKXTdFPXSlnhStOwCgskNi
baiiT0Qdv/1Tu63F3tLt33M=
=C0Y4
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list