[Distutils] [sqlalchemy] Re: inability to pass setup.py command line arguments to dependency setups

Tres Seaver tseaver at palladion.com
Mon May 10 20:35:11 CEST 2010


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

Lennart Regebro wrote:
> On Sat, May 8, 2010 at 07:48, Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:
>> a dependency-correctness issue.  However, if a C extension wraps features
>> necessary for an application to work correctly, without which it will simply
>> traceback and die, then it should be possible for the application to say "I
>> depend on this functionality".
> 
> I think setuptools can do this, but I've never used it so I'm not sure.
> 
> Another option would to package the extensions as a separate package,
> so you get 'MySQL' and 'MySQL-C-extensions'. Problem solved. :)

That is effectivaly what the "extras" bit in setuptools does[

http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-features-with-their-own-dependencies




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

iEYEARECAAYFAkvoUd8ACgkQ+gerLs4ltQ6zxQCePHJfWk8mvoQrt7k8n8s4TfOk
FmAAnAl3XT1HZK1oeP2Yq1HgLzQQJHTf
=HZXH
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list