jupyterlab: adjust dependency processing with hatch/setuptools

master
David Baumgold 2023-01-26 16:39:52 +01:00 committed by BrewTestBot
parent 8cef5e2902
commit 2d04ba6a22
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 5 additions and 3 deletions

View File

@ -389,9 +389,11 @@ class Jupyterlab < Formula
(libexec/site_packages/"homebrew-#{package_name}.pth").write package/site_packages
end
# gather packages to link based on options
linked_hatch = %w[jupyter-core jupyter-client nbformat ipykernel nbconvert]
linked_setuptools = %w[jupyter-console notebook]
linked_hatch = %w[
jupyter-core jupyter-client jupyter-events jupyter-server jupyter-server-terminals
nbformat ipykernel nbconvert
]
linked_setuptools = %w[notebook]
unlinked_hatch = %w[jupyterlab-server]
unlinked_setuptools = resources.map(&:name).to_set - linked_hatch - linked_setuptools - unlinked_hatch