-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
134 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
dist: trusty | ||
language: python | ||
matrix: | ||
include: | ||
- python: 3.4 | ||
env: NUMPY=1.10 | ||
- python: 3.5 | ||
env: NUMPY=1.11 RUN_COVERAGE=yes | ||
- python: 3.6 | ||
env: NUMPY=1.13 | ||
# - os: osx | ||
# python: 3.6 | ||
# env: NUMPY=1.12 BUILD_DOC=yes | ||
|
||
branches: | ||
only: | ||
- master | ||
# - travis | ||
|
||
before_install: | ||
#### Install Miniconda #### | ||
- unamestr=`uname` | ||
- if [[ "$unamestr" == 'Linux' ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
elif [[ "$unamestr" == 'Darwin' ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; | ||
else | ||
echo Error; | ||
fi | ||
- chmod +x miniconda.sh | ||
- ./miniconda.sh -b | ||
- export PATH=$HOME/miniconda3/bin:$PATH | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
# Useful for debugging any issues with conda | ||
- conda info -a | ||
- conda create -q -n travis python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY pytest cython | ||
- source activate travis | ||
- if [ "$RUN_COVERAGE" == "yes" ]; then pip install coveralls pytest-cov -q; fi | ||
|
||
install: | ||
- pip install . | ||
|
||
script: | ||
- if [ "$RUN_COVERAGE" == "yes" ]; then | ||
py.test test/ --cov; | ||
else | ||
py.test test/; | ||
fi | ||
|
||
after_success: | ||
- if [ "$RUN_COVERAGE" == "yes" ]; then coveralls; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
BSD 3-Clause License | ||
|
||
Copyright (c) 2017, Jacob Zhong | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
* Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,26 @@ | |
|
||
setup( | ||
name="PyPCL", | ||
version="0.1.1", | ||
description="Minial PCL Binding", | ||
version="0.1.2", | ||
description="Cython bindings of Point Cloud Library (PCL) ", | ||
long_description='(see project homepage)', | ||
author='Jacob Zhong', | ||
license="MIT", | ||
author_email='[email protected]', | ||
url='https://github.com/cmpute/pypcl', | ||
download_url='https://github.com/cmpute/pypcl/archive/master.zip', | ||
license='BSD-3-Clause', | ||
packages=['pcl'], | ||
package_data={'pcl':['*.pxd', '*/*.pxd', '__init__.pxd']}, | ||
install_requires=['cython', 'eigency'], | ||
install_requires=['cython', 'scikit-build'], | ||
extras_require={'test': ['pytest']}, | ||
classifiers=[ | ||
'Programming Language :: C++', | ||
'Programming Language :: Cython', | ||
'Programming Language :: Python :: 3', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: OS Independent', | ||
'Development Status :: 2 - Pre-Alpha', | ||
'Topic :: Scientific/Engineering' | ||
], | ||
keywords=['pcl', 'pointcloud', 'numpy', 'cython', 'binding'], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.