diff options
author | ggilestro | 2019-10-13 16:31:17 +0100 |
---|---|---|
committer | ggilestro | 2019-10-13 16:31:17 +0100 |
commit | a9f1d8de29e1b0b0e1fc11a262509e4f3e249c9d (patch) | |
tree | de9027644a88bb8163df72262739ee86f8e40878 | |
parent | 1fa9d9f56c446aef5b9efa523d3b0cab9a6fd4ce (diff) | |
download | aur-a9f1d8de29e1b0b0e1fc11a262509e4f3e249c9d.tar.gz |
Changed the python installation to develop and moved to the install script from the PKGBUILD (develop takes no root option)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | ethoscope-node.install | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = ethoscope-node pkgdesc = A platform for monitoring animal behaviour in real time from a raspberry pi pkgver = r1704.g6d72a77 - pkgrel = 2 + pkgrel = 3 url = http://lab.gilest.ro/ethoscope install = ethoscope-node.install arch = any @@ -2,7 +2,7 @@ pkgname=ethoscope-node pkgver=r1704.g6d72a77 -pkgrel=2 +pkgrel=3 pkgdesc="A platform for monitoring animal behaviour in real time from a raspberry pi" arch=('any') url="http://lab.gilest.ro/ethoscope" @@ -39,9 +39,9 @@ package() { ln -s /opt/ethoscope-node/scripts/ethoscope_updater "${pkgdir}/opt/" #install python service - cd "${srcdir}/${pkgname}/node_src" + #cd "${srcdir}/${pkgname}/node_src" #pip install -e . --install-option="--prefix=${pkgdir}" --no-deps - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + #python setup.py install --root="$pkgdir/" --optimize=1 --skip-build #install service files cd "${srcdir}"/"${pkgname}"/scripts/ diff --git a/ethoscope-node.install b/ethoscope-node.install index f1d0c75f85c6..76edcbf5cf52 100644 --- a/ethoscope-node.install +++ b/ethoscope-node.install @@ -14,7 +14,7 @@ post_install() { #installing python module cd /opt/ethoscope-node/node_src/ - python setup.py install + python setup.py develop echo "enabling NODE specific systemd service files" systemctl enable ethoscope_node.service ethoscope_update_node.service ethoscope_backup.service ethoscope_video_backup.service |