Revision: 4452
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4452&view=rev
Author: jswhit
Date: 2007-11-26 11:02:33 -0800 (Mon, 26 Nov 2007)
Log Message:
-----------
only install dap and httplib2 if not already available
Modified Paths:
--------------
trunk/toolkits/basemap/setup.py
Modified: trunk/toolkits/basemap/setup.py
===================================================================
--- trunk/toolkits/basemap/setup.py 2007-11-26 18:58:41 UTC (rev 4451)
+++ trunk/toolkits/basemap/setup.py 2007-11-26 19:02:33 UTC (rev 4452)
@@ -102,16 +102,17 @@
define_macros = dbf_macros()) ]
# install dap and httplib2, if not already available.
-#try:
-# from dap import client
-#except ImportError:
-packages = packages + ['dap','dap.util','dap.parsers']
-package_dirs['dap'] = os.path.join('lib','dap')
-#try:
-# import httplib2
-#except ImportError:
-packages = packages + ['httplib2']
-package_dirs['httlib2'] = os.path.join('lib','httplib2')
+# only a subset of dap is installed (the client, not the server)
+try:
+ from dap import client
+except ImportError:
+ packages = packages + ['dap','dap.util','dap.parsers']
+ package_dirs['dap'] = os.path.join('lib','dap')
+try:
+ import httplib2
+except ImportError:
+ packages = packages + ['httplib2']
+ package_dirs['httlib2'] = os.path.join('lib','httplib2')
if 'setuptools' in sys.modules:
# Are we running with setuptools?
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins