At 08:03 PM 11/10/2006 -0500, Matt Good wrote: >Is there a way to define a requirement like "PackageA or PackageB"? >AFAICT there's no syntax to specify this type of requirement, so is >there some other way to handle this in setup.py?
See http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-features-with-their-own-dependencies for how to define "extras". You would then tell people to install YourPackage[A] or YourPackage[B] to select which optional dependency they want to use. There is no way to simply choose one to install at random, however. :) _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
