package _mysql with McMillan

P

Pieter Claassen

I am having problems with the McMillan package tool to get it to see
import _mysql

the _mysql module is actually implemented as _mysql.so and not a .py file.

I have tried to create a hook file for it but it doesn't work. It is just
as if the package maker does not package it up.

Has anybody packaged to cope with "import _mysql" in this package tool?

Thanks,
Pieter
 
P

Pieter Claassen

I am having problems with the McMillan package tool to get it to see
import _mysql

the _mysql module is actually implemented as _mysql.so and not a .py file.

I have tried to create a hook file for it but it doesn't work. It is just
as if the package maker does not package it up.

Has anybody packaged to cope with "import _mysql" in this package tool?

Thanks,
Pieter


Ok, solved the problem by

from MySQLdb import _mysql

and the installer found everything fine!

Pieter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,338
Messages
2,571,775
Members
48,573
Latest member
VanceHalvo

Latest Threads

Top