Skip to content
Snippets Groups Projects
Commit 0264ce5b authored by Swen Vermeul's avatar Swen Vermeul
Browse files

added jupyter-nbextensions-configurator to requirement list

parent 9f3d378c
No related branches found
No related tags found
No related merge requests found
...@@ -6,13 +6,13 @@ if sys.version_info < (3,3): ...@@ -6,13 +6,13 @@ if sys.version_info < (3,3):
from setuptools import setup, find_packages from setuptools import setup, find_packages
with open("README.md", "r") as fh: with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read() long_description = fh.read()
setup( setup(
name='jupyter-openbis-extension', name='jupyter-openbis-extension',
version= '0.0.1', version= '0.0.2',
author='Swen Vermeul | ID SIS | ETH Zürich', author='Swen Vermeul | ID SIS | ETH Zürich',
author_email='swen@ethz.ch', author_email='swen@ethz.ch',
description='Extension for Jupyter notebooks to connect to openBIS and download/upload datasets, inluding the notebook itself', description='Extension for Jupyter notebooks to connect to openBIS and download/upload datasets, inluding the notebook itself',
...@@ -22,6 +22,7 @@ setup( ...@@ -22,6 +22,7 @@ setup(
packages=find_packages(), packages=find_packages(),
license='Apache Software License Version 2.0', license='Apache Software License Version 2.0',
install_requires=[ install_requires=[
'jupyter-nbextensions-configurator',
'jupyter', 'jupyter',
'pybis', 'pybis',
], ],
...@@ -31,4 +32,20 @@ setup( ...@@ -31,4 +32,20 @@ setup(
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
], ],
include_package_data=True,
data_files=[
# like `jupyter nbextension install --sys-prefix`
("share/jupyter/nbextensions/jupyter-openbis-extension", [
"jupyter-openbis-extension/static/dialog.js",
]),
# like `jupyter nbextension enable --sys-prefix`
("etc/jupyter/nbconfig/notebook.d", [
"jupyter-config/nbconfig/notebook.d/jupyter-openbis-extension.json"
]),
# like `jupyter serverextension enable --sys-prefix`
("etc/jupyter/jupyter_notebook_config.d", [
"jupyter-config/jupyter_notebook_config.d/jupyter-openbis-extension.json"
])
],
zip_safe=False,
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment