Empty __init__.py script in mysql python lib directory

Bug #1457914 reported by sidh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Python Replicant
Confirmed
Low
Mats Kindahl

Bug Description

In the setup.py file at line 84 :

packages=[
              'mysql.replicant',
             'mysql.replicant.parser',
             ],

raised that error on CentOS 6.6 64 bits :

 from mysql.replicant.server import Server, User
ImportError: No module named mysql.replicant.server

because an empty __init__.py file is not created in /usr/lib/python2.6/site-packages/mysql/__init__.py

Thanks to ionelmc on Freenode python's channel that found the problem , this section l. 84 should be :

packages=[
              'mysql',
              'mysql.replicant',
             'mysql.replicant.parser',
             ],

HTH.

Revision history for this message
Mats Kindahl (mkindahl) wrote :

Thanks for the bug report, will fix...

Changed in mysql-replicant-python:
assignee: nobody → Mats Kindahl (mkindahl)
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.