* Fabrice Coutadeur <fabric...@ubuntu.com>, 2009-09-16, 05:16:
Here is the patch to fix that:
# patch the search routine to avoid detecting temporary build directory
Index: epsilon-0.5.12/epsilon/setuphelper.py
===================================================================
--- epsilon-0.5.12.orig/epsilon/setuphelper.py  2009-09-16 04:39:38.000000000 
+0000
+++ epsilon-0.5.12/epsilon/setuphelper.py       2009-09-16 04:39:44.000000000 
+0000
@@ -43,7 +43,8 @@
        pkgName = dirpath[2:].replace('/', '.')
        if '__init__.py' in filenames:
            # The current directory is a Python package
-            packages.append(pkgName)
+           if 'build' not in dirpath:
+                packages.append(pkgName)
        elif 'plugins' in dirnames:
            # The current directory is for the Twisted plugin system
            pluginPackages.append(pkgName)

FWIW, you should not mix tabs and spaces. :)

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to