Floris Bruynooghe
2011-06-06 02:19:34 UTC
Hi
It seems that __init__.py gets installed in the toplevel
site-packages. While generally not very harmful I'm sure it can
hardly be deemed as correct. The offending code seems to be in
python/COS/dir.mk, here a small patch which fixes this:
--- a/python/COS/dir.mk
+++ b/python/COS/dir.mk
@@ -78,8 +78,8 @@
EXPORTEDFILES += $(foreach f, $(filter CosNaming%, $(FILES)),
$(PYLIBROOT)/$(f))
# __init__.py to make it a package
-FILES += __init__.py
-INSTALLEDFILES += $(INSTALLPYTHONDIR)/__init__.py
+#FILES += __init__.py
+#INSTALLEDFILES += $(INSTALLPYTHONDIR)/__init__.py
# A .pth file to expose omniORB/COS to the global namespace
FILES += omniORB.pth
I'm not sure why that was there, am I disabling something important by
this change?
Regards
Floris
It seems that __init__.py gets installed in the toplevel
site-packages. While generally not very harmful I'm sure it can
hardly be deemed as correct. The offending code seems to be in
python/COS/dir.mk, here a small patch which fixes this:
--- a/python/COS/dir.mk
+++ b/python/COS/dir.mk
@@ -78,8 +78,8 @@
EXPORTEDFILES += $(foreach f, $(filter CosNaming%, $(FILES)),
$(PYLIBROOT)/$(f))
# __init__.py to make it a package
-FILES += __init__.py
-INSTALLEDFILES += $(INSTALLPYTHONDIR)/__init__.py
+#FILES += __init__.py
+#INSTALLEDFILES += $(INSTALLPYTHONDIR)/__init__.py
# A .pth file to expose omniORB/COS to the global namespace
FILES += omniORB.pth
I'm not sure why that was there, am I disabling something important by
this change?
Regards
Floris
--
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org