Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5141bc3

Browse files
author
Matthias Koeppe
committed
build/pkgs/widgetsnbextension: Patch out dependency on notebook (backport from widgetsnbextension-4)
1 parent a8035aa commit 5141bc3

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

build/pkgs/widgetsnbextension/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$(PYTHON) | $(PYTHON_TOOLCHAIN) notebook jupyter_core
1+
$(PYTHON) | $(PYTHON_TOOLCHAIN) jupyter_core
22

33
----------
44
All lines of this file are ignored except the first.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.5.1
1+
3.5.1.p0
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
commit 55bc3c93bf4310d4f4d9d02f2e51d1d65b7f6533 (HEAD -> 7.6.3-sage)
2+
Author: Sylvain Corlay <[email protected]>
3+
Date: Mon Oct 21 01:33:23 2019 +0200
4+
5+
Drop notebook dependency from widgetsnbextension
6+
7+
diff --git a/widgetsnbextension/setup.py b/widgetsnbextension/setup.py
8+
index 866d82eb..88746f95 100644
9+
--- a/setup.py
10+
+++ b/setup.py
11+
@@ -219,13 +219,5 @@ if 'setuptools' in sys.modules:
12+
from setuptools.command.develop import develop
13+
setup_args['cmdclass']['develop'] = js_prerelease(develop, strict=True)
14+
15+
-setuptools_args = {}
16+
-install_requires = setuptools_args['install_requires'] = [
17+
- 'notebook>=4.4.1',
18+
-]
19+
-
20+
-if 'setuptools' in sys.modules:
21+
- setup_args.update(setuptools_args)
22+
-
23+
if __name__ == '__main__':
24+
setup(**setup_args)

0 commit comments

Comments
 (0)