-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpcl-python.sh
More file actions
executable file
·37 lines (27 loc) · 789 Bytes
/
Copy pathpcl-python.sh
File metadata and controls
executable file
·37 lines (27 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# source: https://gist.github.com/phatblat/1713458
# Save script's current directory
DIR=$(pwd)
set -e
set -u
set -x
echo "###############################################"
echo "# python-pcl https://github.com/strawlab/python-pcl/"
echo "###############################################"
echo "#"
echo "# Point Cloud Library Python API. "
echo "# "
echo "# WARNING: assumes pcl is already installed"
cd ~/src
if [ ! -d ~/src/python-pcl ] ; then
git clone https://github.com/strawlab/python-pcl.git
fi
cd ~/src/python-pcl
git pull
python2 setup.py build_ext -i --user
python2 setup.py install --user
# sh build.sh
# pip2 install --upgrade --user pip cython numpy
# python2 -m pip install . build_ext -i --upgrade --user
# python2 -m pip install . --upgrade --user
cd ~/src
cd $DIR