[Distutils] conditional external packages dependancies with setuptools
Phillip J. Eby
pje at telecommunity.com
Sat Jun 24 18:51:00 CEST 2006
At 03:04 AM 6/24/2006 -0400, Jorge Vargas wrote:
>but What I want to accomplish is having dependancies on some packages. for
>example my project will have diferent database backends so I want to
>depend on pysqlite or mysql-python depending on which the user wants as
>his/her backend. I'm going to have lots of diferent backends, even some
>that are not databases, so this will be a crutial thing for me or I'll end
>up with very big dist files per release, which will mostly be waste if the
>user never uses them.
>
>is something like this possible with setuptools now?
Yes:
http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras
More information about the Distutils-SIG
mailing list