Skip to content

Commit 4219752

Browse files
committed
cleanup and increment for 2.3.6
1 parent 03f4af3 commit 4219752

File tree

4 files changed

+2
-197
lines changed

4 files changed

+2
-197
lines changed

CMakeLists.txt

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
cmake_minimum_required(VERSION 3.11.0)
22
project(PDAL)
33

4-
# macros for creating targets
5-
#include(${PROJECT_SOURCE_DIR}/macros.cmake NO_POLICY_SCOPE)
6-
74
set(CMAKE_CXX_STANDARD 11)
85
set(CMAKE_CXX_STANDARD_REQUIRED ON)
96
set(CMAKE_CXX_EXTENSIONS OFF)
107
option(WITH_TESTS "Enable tests" OFF)
118
set(CMAKE_BUILD_TYPE "Release")
129

13-
1410
# Python-finding settings
1511
set(Python3_FIND_STRATEGY "LOCATION")
1612
set(Python3_FIND_REGISTRY "LAST")
@@ -26,56 +22,7 @@ if(SKBUILD)
2622
message(STATUS "The project is built using scikit-build")
2723
endif()
2824

29-
execute_process(
30-
COMMAND
31-
${Python3_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_config_var('Py_ENABLE_SHARED'))"
32-
OUTPUT_VARIABLE Py_ENABLE_SHARED
33-
OUTPUT_STRIP_TRAILING_WHITESPACE
34-
)
35-
36-
#execute_process(
37-
# COMMAND
38-
# ${Python3_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_config_var('LDSHARED').split(' ', 1)[1])"
39-
# OUTPUT_VARIABLE PYTHON_LDSHARED
40-
# OUTPUT_STRIP_TRAILING_WHITESPACE
41-
#)
42-
43-
#if (NOT Py_ENABLE_SHARED)
44-
# message(STATUS "Python ${Python3_EXECUTABLE} is statically linked")
45-
# if (APPLE)
46-
# # conda gives us -bundle, which isn't valid
47-
# message(STATUS "Removing extra -bundle argument from sysconfig.get_config_var('LDSHARED')")
48-
# string(REPLACE "-bundle" "" PYTHON_LDSHARED "${PYTHON_LDSHARED}")
49-
# string(STRIP ${PYTHON_LDSHARED} PYTHON_LDSHARED)
50-
# endif()
51-
# # set(Python3_LIBRARIES ${PYTHON_LDSHARED})
52-
# message(STATUS "Setting Python3_LIBRARIES to '${Python3_LIBRARIES}' due to static Python")
53-
#endif()
54-
5525
add_subdirectory(pdal)
56-
#set(EXTENSION_SRC
57-
# ./pdal/PyArray.cpp
58-
# ./pdal/PyArray.hpp
59-
# ./pdal/PyDimension.hpp
60-
# ./pdal/PyPipeline.cpp
61-
# ./pdal/PyPipeline.hpp)
62-
#
63-
#set(extension "libpdalpython")
64-
#add_cython_target(${extension} "./pdal/libpdalpython.pyx" CXX PY3)
65-
#
66-
#add_library(${extension} MODULE ${EXTENSION_SRC} libpdalpython)
67-
#target_include_directories( ${extension}
68-
# PRIVATE
69-
# .
70-
# ${PDAL_INCLUDE_DIRS}
71-
# ${Python3_INCLUDE_DIRS}
72-
# ${Python3_NumPy_INCLUDE_DIRS})
73-
#
74-
#target_link_libraries(${extension} ${PDAL_LIBRARIES})
75-
#python_extension_module(${extension})
76-
#
77-
#install(TARGETS ${extension} LIBRARY DESTINATION "${PROJECT_NAME}/pdal")
78-
7926

8027
# Taken and adapted from PDAL's cmake macros.cmake
8128

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ Requirements
163163
* PDAL 2.2+
164164
* Python >=3.6
165165
* Cython (eg :code:`pip install cython`)
166+
* Numpy (eg :code:`pip install numpy`)
166167
* Packaging (eg :code:`pip install packaging`)
167168
* scikit-build (eg :code:`pip install scikit-build`)
168169

pdal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__='2.3.5'
1+
__version__='2.3.6'
22

33
from .pipeline import Pipeline
44
from .array import Array

pdal/macros.cmake

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)