Comment 3 for bug 812279

Revision history for this message
Matt Conway (wr0ngway) wrote :

As a test, I tried removing the __init__.py from the install dir /opt/graphite/lib/twisted/[plugins], and the script then seems to run. However, setup.py complains if they aren't there in the source directory, and then adds them to the install directory, so not sure what the solution is. Some way to get setup.py to copy directory trees without treating them as packages?

Basically, I think graphite (twisted?) relies on the plugin files being in a known package so that they get automatically loaded (my original problem). However, having them in the source tree as "packages" causes them to shadow the system package.