diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-visdom pkgdesc = A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy. pkgver = 0.2.4 - pkgrel = 2 + pkgrel = 4 url = https://github.com/facebookresearch/visdom arch = any license = Apache @@ -16,6 +16,7 @@ pkgbase = python-visdom depends = python-requests depends = python-scipy depends = python-six + depends = python-tornado depends = python-tqdm depends = python-websocket-client source = python-visdom-0.2.4.tar.gz::https://files.pythonhosted.org/packages/source/v/visdom/visdom-0.2.4.tar.gz @@ -3,7 +3,7 @@ pkgname=python-visdom _name=visdom pkgver=0.2.4 -pkgrel=2 +pkgrel=4 pkgdesc='A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.' arch=(any) url='https://github.com/facebookresearch/visdom' @@ -16,6 +16,7 @@ depends=( python-requests python-scipy python-six + python-tornado python-tqdm python-websocket-client ) @@ -38,5 +39,8 @@ build() { package() { cd "${_name}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl + # pre-download scripts + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + PYTHONPATH="${pkgdir}${site_packages}" python -c 'from visdom.server.build import download_scripts; download_scripts()' } # vim:set ts=2 sw=2 et: |