469,917 Members | 2,157 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Egg with option to install extra packages

Hi,

I'm trying to distribute my application which also support some extra
libraries but does not require them to run. I set the "extra" option
but I don't know how could I specify that I want to install my
application with any of that extra packages.

So now I have in my setup.py like this:

extras_require={
'postgresql': ['psycopg2'],
'mysql': ['MySQLdb'],
'odbc': ['pyodbc'],
'mssql': ['pymssql'],
},

Could I now specify an extra package when installing?

ie. easy_install my_egg.egg --extra=postgresql,mysql,odbc
Thanks!

--
Sebastjan
http://www.trepca.si/blog
Apr 19 '06 #1
0 775

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by John Hunter | last post: by
1 post views Thread by Peter Hartmann | last post: by
1 post views Thread by Peter Hartmann | last post: by
9 posts views Thread by Ritesh Raj Sarraf | last post: by
4 posts views Thread by Fabian Braennstroem | last post: by
3 posts views Thread by TonyHa | last post: by
3 posts views Thread by Anthony Smith | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.