diff options
author | Martino Pilia | 2018-04-24 13:02:57 +0200 |
---|---|---|
committer | Martino Pilia | 2018-04-24 13:02:57 +0200 |
commit | fdb09c212bab80a7ba12e2f5a03a22b81b94d825 (patch) | |
tree | 5783ed8f557e14b6579d91a33fcf7b72adef4634 | |
parent | a71c0d4846a29f4399db551e02000801f869f21d (diff) | |
download | aur-fdb09c212bab80a7ba12e2f5a03a22b81b94d825.tar.gz |
compile to bytecode
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-itk pkgdesc = ITK is an open-source toolkit for multidimensional image analysis pkgver = 4.13.0 - pkgrel = 1 + pkgrel = 2 url = https://itk.org/ arch = x86_64 license = apache @@ -3,7 +3,7 @@ _components='itk itk-segmentation itk-io itk-registration itk-core itk-numerics _py=cp36 pkgname=python-itk pkgver=4.13.0 -pkgrel=1 +pkgrel=2 pkgdesc='ITK is an open-source toolkit for multidimensional image analysis' arch=('x86_64') url='https://itk.org/' @@ -35,5 +35,6 @@ package() { # additional components to be wrapped in the CMake config. PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl + python -O -m compileall "${pkgdir}/usr/lib/python3.6/site-packages/itk" } |