[Checkins] SVN: hurry.tinymce/trunk/s Actually declare namespace package and therefore remove silly hack.
Martijn Faassen
faassen at infrae.com
Thu Oct 9 13:53:56 EDT 2008
Log message for revision 91930:
Actually declare namespace package and therefore remove silly hack.
Changed:
U hurry.tinymce/trunk/setup.py
U hurry.tinymce/trunk/src/hurry/__init__.py
-=-
Modified: hurry.tinymce/trunk/setup.py
===================================================================
--- hurry.tinymce/trunk/setup.py 2008-10-09 17:53:36 UTC (rev 91929)
+++ hurry.tinymce/trunk/setup.py 2008-10-09 17:53:55 UTC (rev 91930)
@@ -13,6 +13,7 @@
license='ZPL 2.1',
packages=find_packages('src'),
package_dir={'': 'src'},
+ namespace_packages=['hurry'],
include_package_data=True,
zip_safe=False,
install_requires=[
Modified: hurry.tinymce/trunk/src/hurry/__init__.py
===================================================================
--- hurry.tinymce/trunk/src/hurry/__init__.py 2008-10-09 17:53:36 UTC (rev 91929)
+++ hurry.tinymce/trunk/src/hurry/__init__.py 2008-10-09 17:53:55 UTC (rev 91930)
@@ -1,9 +1,3 @@
-# XXX awful hack to make sure we don't get a warning due to two
-# namespace packages being loaded. Why this is needed I do not know,
-# haven't seen this before :(
-import warnings
-warnings.filterwarnings("ignore", "Module (.*) was already imported (.*)")
-
# this is a namespace package
try:
import pkg_resources
More information about the Checkins
mailing list