From: <js...@us...> - 2007-12-15 18:21:27
|
Revision: 4740 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4740&view=rev Author: jswhit Date: 2007-12-15 10:18:03 -0800 (Sat, 15 Dec 2007) Log Message: ----------- don't use namespace packages Modified Paths: -------------- trunk/toolkits/basemap/lib/dap/__init__.py trunk/toolkits/basemap/lib/matplotlib/__init__.py Modified: trunk/toolkits/basemap/lib/dap/__init__.py =================================================================== --- trunk/toolkits/basemap/lib/dap/__init__.py 2007-12-15 13:39:05 UTC (rev 4739) +++ trunk/toolkits/basemap/lib/dap/__init__.py 2007-12-15 18:18:03 UTC (rev 4740) @@ -9,4 +9,7 @@ For more information about the protocol, please check http://opendap.org. """ -__import__('pkg_resources').declare_namespace(__name__) +#try: +# __import__('pkg_resources').declare_namespace(__name__) +#except ImportError: +# pass # must not have setuptools Modified: trunk/toolkits/basemap/lib/matplotlib/__init__.py =================================================================== --- trunk/toolkits/basemap/lib/matplotlib/__init__.py 2007-12-15 13:39:05 UTC (rev 4739) +++ trunk/toolkits/basemap/lib/matplotlib/__init__.py 2007-12-15 18:18:03 UTC (rev 4740) @@ -1,4 +1,4 @@ -try: - __import__('pkg_resources').declare_namespace(__name__) -except ImportError: - pass # must not have setuptools +#try: +# __import__('pkg_resources').declare_namespace(__name__) +#except ImportError: +# pass # must not have setuptools This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |