[Distutils] compiler selection with bdist_egg of setuptools
Venkat Bommakanti
venkatbo at yahoo.com
Tue Oct 10 06:05:47 CEST 2006
Hi,
While compiling some py/C source pkgs, such as:
. RuleDispatch-0.5a0.dev-r2115.tar.gz
. cElementTree-1.0.5-20051216.zip
. PyProtocols-1.0a0dev_r2082.zip
. Cheetah-2.0rc7.tar.gz
I noticed in the logs that each (after being unpacked) has
the following command invoked:
setup.py -q bdist_egg --dist-dir /tmp/....
Since selecting a 'compiler' is not an option for the
"bdist_egg" command, are even the settings in
~/.pydistutils.cfg file:
[build]
compiler = unix
[bdist_egg]
plat_name = ppc
picked up ?
They appear not to be picked up, and I'm suspecting that
since the [build] settings are valid only for the "build" command,
it will not have any effect on the "bdist_egg" command used
by all the above comps. Is that accurate ?
If plat_name is not picked up, how is setuptools figuring
out that the platform is i686 (given that the build is being
done for a i686 linux box). Verbose logs don't show where/how
that decision is made...
Thanks,
/venkat
More information about the Distutils-SIG
mailing list