[Distutils] [issue142] easy_install ignores 'headers' passed to setup()

Tres Seaver tseaver at palladion.com
Mon Jul 9 18:11:23 CEST 2012


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

On 07/09/2012 11:13 AM, Tres Seaver wrote:
> 
> New submission from Tres Seaver <tseaver at palladion.com>:
> 
> A bare distutils install of a package with 'headers' passed to
> 'setup()' dispatches to 'install_headers', which copies the exported
> header files into the system include path.
> 
> 'easy_install' bypasses the distutils 'install()' when doing a normal 
> egg install, and does not re-implement the 'install_headers' dance.
> 
> Furthermore, the 'bdist_egg' it creates, even though it contains the 
> header files, has no metadata which would allow the installer to 
> discover that they should be copied.

Note that distribute has the same bug, which I reported here:

 https://bitbucket.org/tarek/distribute/issue/295


- -- 
===================================================================
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.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/7AqQACgkQ+gerLs4ltQ4/kwCfWEBYSY+dlEfD0b/QNxXnPNxA
lPcAoIj0XsQCu2AbPuVWYLEGmWpfKL4Y
=VNY3
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list