Skip to content

Commit 6008586

Browse files
committed
Remove JupyterLab dependency in jupyterlab_widgets
Even though jupyterlab_widgets is useless without JupyterLab, it is only a small Python package (that don't need JupyterLab) and some static files installed in the right path (share/jupyter/labextensions). I would then expect it to not depend on JupyterLab. This will allow other widgets extension to depend on the jupyterlab_widget package so that those widgets extensions can work on JupyterLab out of the box, without them depending on JupyterLab. Signed-off-by: martinRenou <[email protected]>
1 parent 09ebda3 commit 6008586

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

jupyterlab_widgets/setup.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
HERE = os.path.abspath(os.path.dirname(__file__))
1313

1414
# The name of the project
15-
name="jupyterlab_widgets"
15+
name = "jupyterlab_widgets"
1616

1717
# Ensure a valid python version
1818
ensure_python(">=3.6")
@@ -40,7 +40,8 @@
4040
("share/jupyter/lab/schemas/%s" % labext_name, os.path.join(lab_path, 'schemas', labext_name), "*.*"),
4141
]
4242

43-
cmdclass = create_cmdclass("jsdeps",
43+
cmdclass = create_cmdclass(
44+
"jsdeps",
4445
package_data_spec=package_data_spec,
4546
data_files_spec=data_files_spec
4647
)
@@ -66,11 +67,9 @@
6667
description="A JupyterLab extension.",
6768
long_description= long_description,
6869
long_description_content_type="text/markdown",
69-
cmdclass= cmdclass,
70+
cmdclass=cmdclass,
7071
packages=setuptools.find_packages(),
71-
install_requires=[
72-
"jupyterlab~=3.0.0rc4",
73-
],
72+
install_requires=[],
7473
zip_safe=False,
7574
include_package_data=True,
7675
python_requires=">=3.6",

0 commit comments

Comments
 (0)