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

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,901
Members
47,439
Latest member
elif2sghost

Latest Threads

Top