Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install MySQLdb (for python) as non-compressed egg

The install instructions are:

$ python setup.py build
$ sudo python setup.py install # or su first

This gives me an .egg file. How do I tell the install to dump the files as a normal, uncompressed library?

Thanks!

like image 599
monk.e.boy Avatar asked Dec 07 '22 08:12

monk.e.boy


1 Answers

OK, I hate to answer my own question, but:

find your python site-packages (mine is /usr/local/lib/python2.5/site-packages )

then:

$ unzip MySQL_python-1.2.2-py2.5-linux-i686.egg

This worked fine for me

like image 197
monk.e.boy Avatar answered Dec 16 '22 08:12

monk.e.boy