Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add liblas and pymcc_lidar #9923

Closed
wants to merge 68 commits into from
Closed
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
897e2a4
Add pymccrgb recipe
rmsare Oct 20, 2019
4e1f051
Replace build script to install dep from from github
rmsare Oct 20, 2019
4016cc8
Update python in build script
rmsare Oct 20, 2019
b5884d9
Enable external dep handling
rmsare Oct 21, 2019
00c6c3b
Add compilers/cmake to build requirements
rmsare Oct 21, 2019
418de10
Add LibLas build dependency as a test
rmsare Oct 21, 2019
be431a1
Try to force channel in meta file
rmsare Oct 21, 2019
015454b
Try to force channel in meta file, take 2
rmsare Oct 21, 2019
8ed53be
Add space for pin
rmsare Oct 21, 2019
403b176
Try quoting pinned dependency
rmsare Oct 21, 2019
f5a4d28
Try specifying channel in extra
rmsare Oct 21, 2019
848440d
Remove extras/channels, keep liblas
rmsare Oct 21, 2019
0d32c68
Add liblas recipe
rmsare Oct 21, 2019
96bcd12
Update name to libLAS to fix pypi URL
rmsare Oct 21, 2019
2f34ec9
Remove build scripts for liblas
rmsare Oct 21, 2019
e77ce9a
Use github release link + SHA, which includes LICENSE.txt
rmsare Oct 21, 2019
cf36c6a
Try to install directly from git
rmsare Oct 21, 2019
68d942e
Scratch that - move into source directory
rmsare Oct 21, 2019
8eeb53c
Fix typo in libLAS
rmsare Oct 21, 2019
f13c4d0
Fix typo in libLAS
rmsare Oct 21, 2019
7e2992a
cd into python source dir only
rmsare Oct 21, 2019
d5d505b
Fix license path
rmsare Oct 21, 2019
cac38fb
Try to compile from source
rmsare Oct 22, 2019
f712ab9
Dont go into source dir
rmsare Oct 22, 2019
bc8e7ee
Add cmake to build deps
rmsare Oct 22, 2019
a3b8db4
Add compilers to build deps
rmsare Oct 22, 2019
5c82524
Add boost to build deps
rmsare Oct 22, 2019
66be37e
Add more build deps
rmsare Oct 22, 2019
5f2b043
Try to add libstdc++
rmsare Oct 22, 2019
62d900d
try to fix glibcxx issue by adding gcc libs
rmsare Oct 22, 2019
24a6a95
Fix deps
isuruf Oct 22, 2019
f4da1c2
Fix build script
isuruf Oct 22, 2019
408a84a
Add boost-cpp to deps, update run deps
rmsare Oct 22, 2019
f0e1d70
Install Python bindings in build script
rmsare Oct 22, 2019
7f4c833
Add pip to deps, remove pip install of pymcc
rmsare Oct 22, 2019
093f2ab
Use PYTHON in build scripts
rmsare Oct 22, 2019
f61aadd
Use setup.py to build liblas
rmsare Oct 22, 2019
bc332be
Bump version and trigger CI to check license file
rmsare Oct 22, 2019
0aa6226
Update pymccrgb hash for 0.1.5
rmsare Oct 23, 2019
926f0a3
Add install of pymcc to check build
rmsare Oct 23, 2019
158bafe
Add recipe for pymcc_lidar (aka pymcc)
rmsare Oct 24, 2019
ece3cca
Update deps - attempt to fix numpy conflixt
rmsare Oct 24, 2019
872c6e2
Try to pin numpy to fix liblas/numpy conflict
rmsare Oct 24, 2019
296a7dc
Bump pymcc_lidar version to fetch full tarball from PyPI
rmsare Oct 24, 2019
a3002d1
Bump version but don't update deps (for now)
rmsare Oct 24, 2019
7d5008e
Update pymcc-lidar hash
rmsare Oct 24, 2019
64541bb
Add compilers to recipe
rmsare Oct 24, 2019
bd9424d
Add python to reqs/run
rmsare Oct 25, 2019
ff8b5ba
Fix license file name
rmsare Oct 25, 2019
f622404
Use version string
rmsare Oct 25, 2019
50a51eb
Clean up build and deps
rmsare Oct 25, 2019
f088588
Limit to linux, clean up host deps
rmsare Oct 25, 2019
2327da5
Add pdal python package
rmsare Oct 25, 2019
fa6c3ea
LibLAS: Skip win build, add hobu as maintainer
rmsare Oct 25, 2019
c868763
Remove fiona dep to try to fix conflict
rmsare Oct 25, 2019
08f3583
Pin gdal 2 to try to fix fiona conflict
rmsare Oct 26, 2019
618ffa1
Use pin_compat template instead
rmsare Oct 26, 2019
241a6b0
Update LibLAS info and remove unused deps (i think)
rmsare Oct 26, 2019
55509b4
Update LibLAS info and remove unused deps (i think)
rmsare Oct 26, 2019
e89b2b3
Bump version after removing fiona dep
rmsare Oct 26, 2019
6cc7b1e
Try to pin numpy in pymccrgb
rmsare Oct 26, 2019
fd86c61
Bump pymccrgb version
rmsare Oct 26, 2019
35abee6
conda python -> $PYTHON
rmsare Oct 26, 2019
02b080b
Try to pin numpy to fix deps
rmsare Oct 26, 2019
5f0a342
Merge branch 'master' of https://github.com/rmsare/staged-recipes
rmsare Oct 26, 2019
b8484b6
Dont pin numpy
rmsare Oct 26, 2019
e3fa9ed
Remove pdal binaries dep, not used
rmsare Oct 26, 2019
1104d93
Remove recipe for separate PR
rmsare Nov 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions recipes/liblas/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

# Compile C library
mkdir build
cd build

cmake -G "Unix Makefiles" \
-DBoost_NO_BOOST_CMAKE=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_PREFIX_PATH=$PREFIX \
-DBoost_USE_STATIC_LIBS=no \
..

make -j${CPU_COUNT}
make install

# Install Python bindings
cd ../python
$PYTHON setup.py --quiet install --single-version-externally-managed --record=record.txt
60 changes: 60 additions & 0 deletions recipes/liblas/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{% set name = "libLAS" %}
{% set version = "1.8.1" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://github.com/libLAS/libLAS/archive/{{ version }}.tar.gz
sha256: 31cff4fd235f9397df8c3086b0aefc50a047d2be0e9ce39f0cddfc662633fa93

build:
skip: True # [win]
number: 0

requirements:
build:
- {{ compiler ('c') }}
- {{ compiler ('cxx') }}
- cmake
- make
host:
- python
- pip
- setuptools
- boost-cpp
- geotiff
- libgdal
- proj4
run:
- python
- boost-cpp
- geotiff
- libgdal
- proj4

test:
imports:
- liblas

about:
home: http://liblas.org
license: BSD
license_family: BSD
license_file: LICENSE.txt
summary: Library for reading and writing the very common LAS LiDAR format.
description: |
libLAS is a C/C++ library for reading and writing the very common LAS LiDAR
format (LAS 1.0/1.1/1.2 ASPRS). The ASPRS LAS format is a sequential binary
format used to store data from LiDAR sensors and by LiDAR processing
software for data interchange and archival. As of 2018, libLAS has been
replaced by the PDAL project and it is in hibernation or maintenance mode.
libLAS does not provide support for LAS or LAZ 1.4, which PDAL does.
dev_url: https://github.com/libLAS/libLAS
doc_url: https://liblas.org/docs.html

extra:
recipe-maintainers:
- hobu
- rmsare
5 changes: 5 additions & 0 deletions recipes/pymcc_lidar/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

export PYTHON_EXECUTABLE=$CONDA_PYTHON_EXE
rmsare marked this conversation as resolved.
Show resolved Hide resolved

$PYTHON setup.py --quiet install --single-version-externally-managed --record=record.txt
50 changes: 50 additions & 0 deletions recipes/pymcc_lidar/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{% set name = "pymcc_lidar" %}
{% set version = "1.3" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 50553515bdfbb9203e260bade29ac4d7bf7e690ed5d873ccd6be7c2f5530025b

build:
number: 0
skip: True # [not linux]

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
- cython
- liblas
host:
- python
- pip
- cython
- liblas
- numpy >=1.14.6
run:
- python
- liblas
- numpy >=1.14.6

test:
imports:
- pymcc_lidar

about:
home: https://github.com/stgl/pymcc
license: MIT
license_family: MIT
license_file: LICENSE.txt
summary: A Python package for point cloud classification using relative height
doc_url: https://github.com/stgl/pymcc
dev_url: https://github.com/stgl/pymcc

extra:
recipe-maintainers:
- rmsare
- gehilley
3 changes: 3 additions & 0 deletions recipes/pymccrgb/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

$PYTHON setup.py --quiet install --single-version-externally-managed --record=record.txt
54 changes: 54 additions & 0 deletions recipes/pymccrgb/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{% set name = "pymccrgb" %}
{% set version = "0.1.7" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 378f2207f8f8ccfb1ff3a93c702f34f6254e62ebdfa287b86bf4ead471a0a653

build:
number: 0
skip: True # [not linux]

requirements:
host:
- python
- pip
- matplotlib
- numpy >=1.14.6
- pdal
- python-pdal
- pymcc_lidar
- scikit-image
- scikit-learn
- scipy
run:
- python
- matplotlib
- numpy >=1.14.6
- pdal
- python-pdal
- pymcc_lidar
- scikit-image
- scikit-learn
- scipy

test:
imports:
- pymccrgb

about:
home: https://github.com/rmsare/pymccrgb
license: MIT
license_family: MIT
license_file: LICENSE
summary: A Python package for point cloud classification using color and curvature
doc_url: https://pymccrgb.readthedocs.io
dev_url: https://github.com/rmsare/pymccrgb

extra:
recipe-maintainers:
- rmsare