Skip to content

Commit 09ca831

Browse files
committed
make notebook optional
1 parent 3040dc5 commit 09ca831

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ build-backend = "setuptools.build_meta"
1010
name = "compas_framework"
1111
description = "The COMPAS framework packages"
1212
keywords = []
13-
authors = [
14-
{ name = "tom van mele", email = "[email protected]" },
15-
]
13+
authors = [{ name = "tom van mele", email = "[email protected]" }]
1614
license = { file = "LICENSE" }
1715
readme = "README.md"
1816
requires-python = ">=3.9"
@@ -50,7 +48,7 @@ zip-safe = false
5048
[tool.setuptools.dynamic]
5149
version = { attr = "compas_framework.__version__" }
5250
dependencies = { file = "requirements.txt" }
53-
optional-dependencies = { dev = { file = "requirements-dev.txt" } }
51+
optional-dependencies = { dev = { file = "requirements-dev.txt" }, notebook = { file = "requirements-notebook.txt" } }
5452

5553
[tool.setuptools.packages.find]
5654
where = ["src"]

requirements-notebook.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compas_notebook

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
compas >= 2.11
1+
compas >= 2.13
22
compas_cgal
33
compas_gmsh
44
compas_libigl
55
compas_model
6-
compas_notebook
76
compas_session
87
compas_shapeop
98
compas_viewer

0 commit comments

Comments
 (0)