[Distutils] UCS-2/4 conflicts in distutils-produced RPM

Henry S. Thompson ht@cogsci.ed.ac.uk
Wed Oct 9 06:59:01 2002


"M.-A. Lemburg" <mal@lemburg.com> writes:

> Henry S. Thompson wrote:
> > I've just hit a major pblm with a package I distribute which includes
> > extension code which in turn uses Unicode functions -- it fails if the
> > UCS2/UCS4 build state of the source/target are not the same.  I've
> > checked the archives and can't see anything about this -- is this a
> > known problem?
>
> Yes. See the Python FAQ.

I meant a known problem for distutils specifically.

> > What's the recommended solution?
> 
> Distribute two RPMs: one for UCS2 builds and one for UCS4 builds.

I had figured _that_ much out for myself :-)

What I meant was, is there a generic approach in view for distutils in
general, e.g. by making provision in Extension for specifying a
Unicode dependency, which would in turn surface in the bdist name
and/or in an install-time test?

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]