Skip to content

Commit

Permalink
fix fast installer
Browse files Browse the repository at this point in the history
  • Loading branch information
sirfoga committed Oct 3, 2018
1 parent 9ab9ab6 commit 31e0fc3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions fast_install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# !/bin/bash
# coding: utf_8

LOCAL_FOLDER="hal"
DIST_FOLDER="/usr/local/lib/python3.6/dist-packages/hal"
sudo cp -r ${LOCAL_FOLDER} ${DIST_FOLDER} # copy recursively
LOCAL_FOLDER="${PWD}/hal/*"
PYTHON_VERSION="python3.6"
DIST_FOLDER="/usr/local/lib/${PYTHON_VERSION}/dist-packages/hal"

rm -rf ${DIST_FOLDER} # clean
mkdir ${DIST_FOLDER}
cp -r ${LOCAL_FOLDER} ${DIST_FOLDER} # copy recursively
echo "Installed to ${DIST_FOLDER}"

0 comments on commit 31e0fc3

Please sign in to comment.