[Distutils] [RFC] support configure + make pattern in distutils (or setuptools)

Dag Sverre Seljebotn d.s.seljebotn at astro.uio.no
Mon Jan 28 21:25:42 CET 2013


On 01/28/2013 07:12 PM, Manlio Perillo wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Il 28/01/2013 19:05, Leonardo Rochael Almeida ha scritto:
>> Sounds nice,
>>
>> Looks like it could make building distributions based on c-libraries
>> more predictable (think lxml or pymsql), specially when you explicitly
>> want to avoid libraries provided by the system.
>>
>
> Right.
>
> And if you read the distutils.command.config module source:
>
>      # Utility methods for actual "config" commands.  The interfaces are
>      # loosely based on Autoconf macros of similar names.  Sub-classes
>      # may use these freely.
>
>
> I'm curious to know how many Python projects use the config command and
> the Autoconf like API.

IIRC, they are pretty useless since you need to pass the flags again and 
again for every command; e.g.,

python setup.py build_ext --fc-compiler=intel
python setup.py install --prefix=/path/to/dir

(An explicit configuration phase is one of the things Bento attempts to 
do better, http://cournape.github.com/Bento/, )

Dag Sverre

>
>
>> [...]
>
>
> Regards  Manlio Perillo
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlEGv3EACgkQscQJ24LbaURLtQCeOvCjCMdrDTipbVEX5sAdiUNk
> 4TwAnA5CsTsLzbJjNCIKBdqU6l2jY4/f
> =7WtB
> -----END PGP SIGNATURE-----
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>



More information about the Distutils-SIG mailing list