Skip to content

Commit 3af688f

Browse files
committed
only publish on release
1 parent 3e7e142 commit 3af688f

File tree

3 files changed

+24
-16
lines changed

3 files changed

+24
-16
lines changed

CHANGES.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
Changes
2-
================================================================================
2+
--------------------------------------------------------------------------------
33

44
2.3.0
5-
--------------------------------------------------------------------------------
5+
................................................................................
66

7-
* PDAL Python support 2.3.0 requires PDAL 2.1+. Older PDAL base libraries likely
8-
will not work.
7+
* PDAL Python support 2.3.0 requires PDAL 2.1+. Older PDAL base libraries
8+
likely will not work.
99

1010
* Python support built using scikit-build
1111

1212
* readers.numpy and filters.python are installed along with the extension.
1313

1414
* Pipeline can take in a list of arrays that are passed to readers.numpy
1515

16-
* readers.numpy now supports functions that return arrays. See https://pdal.io/stages/readers.numpy.html for more detail.
16+
* readers.numpy now supports functions that return arrays. See
17+
https://pdal.io/stages/readers.numpy.html for more detail.
1718

1819
2.0.0
19-
--------------------------------------------------------------------------------
20+
................................................................................
2021

2122
* PDAL Python extension is now in its own repository on its own release
2223
schedule at https://github.com/PDAL/python

README.rst

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
PDAL
33
================================================================================
44

5-
PDAL Python support allows you to process data with PDAL into `Numpy`_
6-
arrays. It supports embedding Python in PDAL pipelines with the `readers.numpy <https://pdal.io/stages/readers.numpy.html>`__
7-
and `filters.python <https://pdal.io/stages/filters.python.html>`__ stages, and it provides a PDAL extension module to control
8-
Python interaction with PDAL.
5+
PDAL Python support allows you to process data with PDAL into `Numpy`_ arrays.
6+
It supports embedding Python in PDAL pipelines with the `readers.numpy
7+
<https://pdal.io/stages/readers.numpy.html>`__ and `filters.python
8+
<https://pdal.io/stages/filters.python.html>`__ stages, and it provides a PDAL
9+
extension module to control Python interaction with PDAL.
910

1011
Additionally, you can use it to fetch `schema`_ and `metadata`_ from
1112
PDAL operations.
@@ -67,10 +68,10 @@ Reading using Numpy Arrays
6768
The following more complex scenario demonstrates the full cycling between
6869
PDAL and Python:
6970

70-
* Read a small testfile from GitHub into a Numpy array
71-
* Filters those arrays with Numpy for Intensity
72-
* Pass the filtered array to PDAL to be filtered again
73-
* Write the filtered array to an LAS file.
71+
* Read a small testfile from GitHub into a Numpy array
72+
* Filters those arrays with Numpy for Intensity
73+
* Pass the filtered array to PDAL to be filtered again
74+
* Write the filtered array to an LAS file.
7475

7576
.. code-block:: python
7677
@@ -93,8 +94,13 @@ PDAL and Python:
9394
count = pipeline.execute()
9495
9596
# get the data from the first array
96-
# [array([(637012.24, 849028.31, 431.66, 143, 1, 1, 1, 0, 1, -9., 132, 7326, 245380.78254963, 68, 77, 88),
97-
# dtype=[('X', '<f8'), ('Y', '<f8'), ('Z', '<f8'), ('Intensity', '<u2'), ('ReturnNumber', 'u1'), ('NumberOfReturns', 'u1'), ('ScanDirectionFlag', 'u1'), ('EdgeOfFlightLine', 'u1'), ('Classification', 'u1'), ('ScanAngleRank', '<f4'), ('UserData', 'u1'), ('PointSourceId', '<u2'), ('GpsTime', '<f8'), ('Red', '<u2'), ('Green', '<u2'), ('Blue', '<u2')])
97+
# [array([(637012.24, 849028.31, 431.66, 143, 1,
98+
# 1, 1, 0, 1, -9., 132, 7326, 245380.78254963, 68, 77, 88),
99+
# dtype=[('X', '<f8'), ('Y', '<f8'), ('Z', '<f8'), ('Intensity', '<u2'),
100+
# ('ReturnNumber', 'u1'), ('NumberOfReturns', 'u1'), ('ScanDirectionFlag', 'u1'),
101+
# ('EdgeOfFlightLine', 'u1'), ('Classification', 'u1'), ('ScanAngleRank', '<f4'),
102+
# ('UserData', 'u1'), ('PointSourceId', '<u2'),
103+
# ('GpsTime', '<f8'), ('Red', '<u2'), ('Green', '<u2'), ('Blue', '<u2')])
98104
99105
arr = pipeline.arrays[0]
100106
print (len(arr)) # 1065 points

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def get_pdal_config(option):
8686
maintainer_email = '[email protected]',
8787
url = 'https://pdal.io',
8888
long_description = long_description,
89+
long_description_content_type = 'text/x-rst',
8990
test_suite = 'test',
9091
cmake_source_dir = 'pdal',
9192
packages = [

0 commit comments

Comments
 (0)