[Distutils] How to make easy_install handle platlibs?

P.J. Eby pje at telecommunity.com
Sat Apr 11 05:18:48 CEST 2009


At 04:09 PM 4/10/2009 -0700, Buck wrote:
>I'm trying to separate platform-specific and platform-independent
>files on my Python installation. ./configure --prefix --exec-prefix
>does this nicely for Python proper, but modules seem to be a whole
>different story.
>
> >From my testing, distutils handles this OK, putting "pure" python
>modules into the --prefix directory and modules with binary .so's into
>the --execprefix. I guess it defaults the install-platbase to be the
>same as the --exec-prefix used in configure?
>
>When running easy_install on the same packages (elementtree and
>numpy), they all go into the platform-independant area.
>
>Is this expected?

Eggs that are platform-dependent include the platform information in 
their filename; there isn't any support for putting them in different 
directories as well.



More information about the Distutils-SIG mailing list