diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-06-24 19:01:47 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-02 09:55:40 +0700 |
commit | 21154779db76fe12ceb80c5f6f64ef79c12b181f (patch) | |
tree | 4f5bf8e71ae5b780e1d508cc9f8f1fa9f6b662a5 /development/jupyter-ipykernel | |
parent | 273a374474fe62b07ffa50b8caeee3ca72e663f6 (diff) |
development/jupyter-ipykernel: Fix setup.py shim.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/jupyter-ipykernel')
-rw-r--r-- | development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild index bfabeeb39552..7518f66ad57c 100644 --- a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild +++ b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jupyter-ipykernel VERSION=${VERSION:-6.15.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -88,6 +88,7 @@ from distutils.core import setup from glob import glob from ipykernel.kernelspec import KERNEL_NAME, make_ipkernel_cmd, write_kernel_spec import os +import shutil here = os.path.abspath(os.path.dirname(__file__)) pjoin = os.path.join packages = [] @@ -98,7 +99,7 @@ dest = pjoin(here, "data_kernelspec") if os.path.exists(dest): shutil.rmtree(dest) write_kernel_spec(dest, overrides={"argv": make_ipkernel_cmd()}) -setup(name='${PRGNAM}', +setup(name='${SRCNAM}', version='${VERSION}', packages=packages, py_modules=["ipykernel_launcher"], |