Search code examples
pythoninstallationmysqlegg

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!


Solution

  • 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