[Liblas-commits] r1256 - trunk/python

liblas-commits at liblas.org liblas-commits at liblas.org
Thu May 7 12:12:18 EDT 2009


Author: hobu
Date: Thu May  7 12:12:18 2009
New Revision: 1256
URL: http://liblas.org/changeset/1256

Log:
default to distutils if we don't have setuptools

Modified:
   trunk/python/setup.py

Modified: trunk/python/setup.py
==============================================================================
--- trunk/python/setup.py	(original)
+++ trunk/python/setup.py	Thu May  7 12:12:18 2009
@@ -2,7 +2,11 @@
 $Id$
 
 """
-from setuptools import setup, Extension
+try:
+    from setuptools import setup, Extension
+except ImportError:
+    from distutils.core import setup, Extension
+    
 from sys import version_info
 
 try:


More information about the Liblas-commits mailing list