[Git][debian-gis-team/python-pdal][upstream] 3 commits: New upstream version 2.1.4+ds

Bas Couwenberg gitlab at salsa.debian.org
Wed Nov 21 06:14:05 GMT 2018


Bas Couwenberg pushed to branch upstream at Debian GIS Project / python-pdal


Commits:
44fddaeb by Bas Couwenberg at 2018-11-20T16:22:58Z
New upstream version 2.1.4+ds
- - - - -
0a6e4439 by Bas Couwenberg at 2018-11-20T16:23:38Z
New upstream version 2.1.5+ds
- - - - -
7e16fe79 by Bas Couwenberg at 2018-11-21T05:57:36Z
New upstream version 2.1.6+ds
- - - - -


4 changed files:

- PKG-INFO
- VERSION.txt
- pdal/__init__.py
- setup.py


Changes:

=====================================
PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: PDAL
-Version: 2.1.3
+Version: 2.1.6
 Summary: Point cloud data processing
 Home-page: http://pdal.io
 Author: Howard Butler


=====================================
VERSION.txt
=====================================
@@ -1 +1 @@
-2.1.3
\ No newline at end of file
+2.1.6
\ No newline at end of file


=====================================
pdal/__init__.py
=====================================
@@ -1,4 +1,4 @@
-__version__='2.1.3'
+__version__='2.1.6'
 
 from .pipeline import Pipeline
 from .array import Array


=====================================
setup.py
=====================================
@@ -156,12 +156,21 @@ if DEBUG:
     if os.name != 'nt':
         extra_compile_args += ['-g','-O0']
 
+# readers.numpy doesn't exist until PDAL 1.8
+if PDALVERSION >= Version('1.8'):
+    libraries.append('pdal_plugin_reader_numpy')
+
 if os.name in ['nt']:
-    if os.environ['OSGEO4W_ROOT']:
-        library_dirs = ['c:/OSGeo4W64/lib']
+    if os.environ.get('OSGEO4W_ROOT'):
+        library_dirs = ['c:/%s/lib' % os.environ.get('OSGEO4W_ROOT')]
+    if os.environ.get('CONDA_PREFIX'):
+        prefix=os.path.expandvars('%CONDA_PREFIX%')
+        library_dirs = ['%s\Library\lib' % prefix]
+        
     libraries = ['pdalcpp','pdal_util','ws2_32']
     if PDALVERSION >= Version('1.8'):
-        libraries.append('pdal_plugin_reader_numpy')
+        libraries.append('libpdal_plugin_reader_numpy')
+
     extra_compile_args = ['/DNOMINMAX',]
 
 if 'linux' in sys.platform or 'linux2' in sys.platform:
@@ -169,10 +178,10 @@ if 'linux' in sys.platform or 'linux2' in sys.platform:
         # try to ensure the ABI for Conda GCC 4.8
         if '4.8' in sys.version:
             extra_compile_args += ['-D_GLIBCXX_USE_CXX11_ABI=0']
+elif 'darwin' in sys.platform:
+    extra_compile_args += ['-std=c++11', '-Wno-unknown-pragmas']
+
 
-# readers.numpy doesn't exist until PDAL 1.8
-if PDALVERSION >= Version('1.8'):
-    libraries.append('pdal_plugin_reader_numpy')
 
 sources=['pdal/libpdalpython'+ext, "pdal/PyPipeline.cpp"  ]
 extensions = [DistutilsExtension("*",



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pdal/compare/83cb2c74ecc7a04a6dbcf14c78376b6cd2902726...7e16fe79ffe73363f33d3aba4104a034352ea524

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pdal/compare/83cb2c74ecc7a04a6dbcf14c78376b6cd2902726...7e16fe79ffe73363f33d3aba4104a034352ea524
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20181121/dd9261da/attachment-0001.html>


More information about the Pkg-grass-devel mailing list