2019-10-28 19:22:28 +00:00
|
|
|
class Jupyterlab < Formula
|
|
|
|
desc "Interactive environments for writing and running code"
|
|
|
|
homepage "https://jupyter.org/"
|
|
|
|
url "https://files.pythonhosted.org/packages/57/a8/9aea7e00e8634f6e73bc2641033fee2d59e5d506784474e5e5d55eb15d55/jupyterlab-1.2.0.tar.gz"
|
|
|
|
sha256 "ce945579a6b20628d275efd4debffef96fa66ef83a10a62d7087ca5610b61668"
|
|
|
|
|
2019-10-30 13:29:08 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "61c4f955e0df4af3cb810915f318a0b2e6803861d6765d5836cce190eee00de1" => :catalina
|
|
|
|
sha256 "2af4efd99fb6b991212ded9df425f893365c448db8ec12bb17a84f6024789933" => :mojave
|
|
|
|
sha256 "75142752e2f46267cb109986f9ba1872225b61ef463e72327449a392411482d0" => :high_sierra
|
|
|
|
end
|
|
|
|
|
2019-10-28 19:22:28 +00:00
|
|
|
depends_on "ipython"
|
|
|
|
depends_on "pandoc"
|
|
|
|
depends_on "python"
|
|
|
|
depends_on "zeromq"
|
|
|
|
|
|
|
|
resource "appnope" do
|
|
|
|
url "https://files.pythonhosted.org/packages/26/34/0f3a5efac31f27fabce64645f8c609de9d925fe2915304d1a40f544cff0e/appnope-0.1.0.tar.gz"
|
|
|
|
sha256 "8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "attrs" do
|
|
|
|
url "https://files.pythonhosted.org/packages/98/c3/2c227e66b5e896e15ccdae2e00bbc69aa46e9a8ce8869cc5fa96310bf612/attrs-19.3.0.tar.gz"
|
|
|
|
sha256 "f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "backcall" do
|
|
|
|
url "https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz"
|
|
|
|
sha256 "38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "bleach" do
|
|
|
|
url "https://files.pythonhosted.org/packages/78/5a/0df03e8735cd9c75167528299c738702437589b9c71a849489d00ffa82e8/bleach-3.1.0.tar.gz"
|
|
|
|
sha256 "3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "decorator" do
|
|
|
|
url "https://files.pythonhosted.org/packages/dc/c3/9d378af09f5737cfd524b844cd2fbb0d2263a35c11d712043daab290144d/decorator-4.4.1.tar.gz"
|
|
|
|
sha256 "54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "defusedxml" do
|
|
|
|
url "https://files.pythonhosted.org/packages/a4/5f/f8aa58ca0cf01cbcee728abc9d88bfeb74e95e6cb4334cfd5bed5673ea77/defusedxml-0.6.0.tar.gz"
|
|
|
|
sha256 "f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "entrypoints" do
|
|
|
|
url "https://files.pythonhosted.org/packages/b4/ef/063484f1f9ba3081e920ec9972c96664e2edb9fdc3d8669b0e3b8fc0ad7c/entrypoints-0.3.tar.gz"
|
|
|
|
sha256 "c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "importlib-metadata" do
|
|
|
|
url "https://files.pythonhosted.org/packages/5d/44/636bcd15697791943e2dedda0dbe098d8530a38d113b202817133e0b06c0/importlib_metadata-0.23.tar.gz"
|
|
|
|
sha256 "aa18d7378b00b40847790e7c27e11673d7fed219354109d0e7b9e5b25dc3ad26"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "ipykernel" do
|
|
|
|
url "https://files.pythonhosted.org/packages/b1/4e/288d4f30d1f121809a0f0df78373ef8b2d9eea9d7eb879cddb0b074af4d1/ipykernel-5.1.3.tar.gz"
|
|
|
|
sha256 "b368ad13edb71fa2db367a01e755a925d7f75ed5e09fbd3f06c85e7a8ef108a8"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "ipython" do
|
|
|
|
url "https://files.pythonhosted.org/packages/c0/e5/ba19ae58e9bdd80832332873cb4e11a90cf2049df052c1aadeabc2cdadeb/ipython-7.9.0.tar.gz"
|
|
|
|
sha256 "dfd303b270b7b5232b3d08bd30ec6fd685d8a58cabd54055e3d69d8f029f7280"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "ipython-genutils" do
|
|
|
|
url "https://files.pythonhosted.org/packages/e8/69/fbeffffc05236398ebfcfb512b6d2511c622871dca1746361006da310399/ipython_genutils-0.2.0.tar.gz"
|
|
|
|
sha256 "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "jedi" do
|
|
|
|
url "https://files.pythonhosted.org/packages/85/03/cd5a6e44a5753b4d539288d9d1f9645caac889c17dd2950292a8818f86b2/jedi-0.15.1.tar.gz"
|
|
|
|
sha256 "ba859c74fa3c966a22f2aeebe1b74ee27e2a462f56d3f5f7ca4a59af61bfe42e"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "Jinja2" do
|
|
|
|
url "https://files.pythonhosted.org/packages/7b/db/1d037ccd626d05a7a47a1b81ea73775614af83c2b3e53d86a0bb41d8d799/Jinja2-2.10.3.tar.gz"
|
|
|
|
sha256 "9fe95f19286cfefaa917656583d020be14e7859c6b0252588391e47db34527de"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "json5" do
|
|
|
|
url "https://files.pythonhosted.org/packages/d4/68/e182f2c6e8d672dbf368a06640ccfc0fb64ef181f721ec29c16d9c383f98/json5-0.8.5.tar.gz"
|
|
|
|
sha256 "124b0f0da1ed2ff3bfe3a3e9b8630abd3c650852465cb52c15ef60b8e82a73b0"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "jsonschema" do
|
|
|
|
url "https://files.pythonhosted.org/packages/43/52/0a4dabd8d42efe6bb039d61731cb20a73d5425e29be16a7a2003b923e542/jsonschema-3.1.1.tar.gz"
|
|
|
|
sha256 "2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "jupyter-client" do
|
|
|
|
url "https://files.pythonhosted.org/packages/c4/cf/ccd7bc6935b60fe4470d7c209e4edde5e18058938f6e81aa0e9db5578c54/jupyter_client-5.3.4.tar.gz"
|
|
|
|
sha256 "60e6faec1031d63df57f1cc671ed673dced0ed420f4377ea33db37b1c188b910"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "jupyter-console" do
|
|
|
|
url "https://files.pythonhosted.org/packages/92/c8/b7e768a3dec19b09d8ad5296a479e03c19a741a1bb4abab27c09236b8562/jupyter_console-6.0.0.tar.gz"
|
|
|
|
sha256 "308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "jupyter-core" do
|
|
|
|
url "https://files.pythonhosted.org/packages/f4/86/b1d5b38cfb9b0c747bda6e1ee330b800b895de755b14304b5cb12d925cd7/jupyter_core-4.6.1.tar.gz"
|
|
|
|
sha256 "a183e0ec2e8f6adddf62b0a3fc6a2237e3e0056d381e536d3e7c7ecc3067e244"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "jupyterlab-server" do
|
|
|
|
url "https://files.pythonhosted.org/packages/05/ee/0f29b8a962a17a38f79ecac234973bccb32d215eb392f5fa5a51508e9dcc/jupyterlab_server-1.0.6.tar.gz"
|
|
|
|
sha256 "d0977527bfce6f47c782cb6bf79d2c949ebe3f22ac695fa000b730c671445dad"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "MarkupSafe" do
|
|
|
|
url "https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz"
|
|
|
|
sha256 "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "mistune" do
|
|
|
|
url "https://files.pythonhosted.org/packages/2d/a4/509f6e7783ddd35482feda27bc7f72e65b5e7dc910eca4ab2164daf9c577/mistune-0.8.4.tar.gz"
|
|
|
|
sha256 "59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "more-itertools" do
|
|
|
|
url "https://files.pythonhosted.org/packages/c2/31/45f61c8927c9550109f1c4b99ba3ca66d328d889a9c9853a808bff1c9fa0/more-itertools-7.2.0.tar.gz"
|
|
|
|
sha256 "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "nbconvert" do
|
|
|
|
url "https://files.pythonhosted.org/packages/04/f2/299fa4b15155ecbe2aefe7412249f0dd91f953b7a9b37c336317d564a1ca/nbconvert-5.6.1.tar.gz"
|
|
|
|
sha256 "21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "nbformat" do
|
|
|
|
url "https://files.pythonhosted.org/packages/6e/0e/160754f7ae3e984863f585a3743b0ed1702043a81245907c8fae2d537155/nbformat-4.4.0.tar.gz"
|
|
|
|
sha256 "f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "notebook" do
|
|
|
|
url "https://files.pythonhosted.org/packages/96/d6/1c3bb77ce081d417a66982816a78d91cba2cff4ef572fb7878faa5d19969/notebook-6.0.1.tar.gz"
|
|
|
|
sha256 "660976fe4fe45c7aa55e04bf4bccb9f9566749ff637e9020af3422f9921f9a5d"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "pandocfilters" do
|
|
|
|
url "https://files.pythonhosted.org/packages/4c/ea/236e2584af67bb6df960832731a6e5325fd4441de001767da328c33368ce/pandocfilters-1.4.2.tar.gz"
|
|
|
|
sha256 "b3dd70e169bb5449e6bc6ff96aea89c5eea8c5f6ab5e207fc2f521a2cf4a0da9"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "parso" do
|
|
|
|
url "https://files.pythonhosted.org/packages/21/40/615957db4d178b7504c87b1a5b85fa5945b0b4fa5f5a845e31fc7aad6018/parso-0.5.1.tar.gz"
|
|
|
|
sha256 "666b0ee4a7a1220f65d367617f2cd3ffddff3e205f3f16a0284df30e774c2a9c"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "pexpect" do
|
|
|
|
url "https://files.pythonhosted.org/packages/1c/b1/362a0d4235496cb42c33d1d8732b5e2c607b0129ad5fdd76f5a583b9fcb3/pexpect-4.7.0.tar.gz"
|
|
|
|
sha256 "9e2c1fd0e6ee3a49b28f95d4b33bc389c89b20af6a1255906e90ff1262ce62eb"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "pickleshare" do
|
|
|
|
url "https://files.pythonhosted.org/packages/d8/b6/df3c1c9b616e9c0edbc4fbab6ddd09df9535849c64ba51fcb6531c32d4d8/pickleshare-0.7.5.tar.gz"
|
|
|
|
sha256 "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "prometheus-client" do
|
|
|
|
url "https://files.pythonhosted.org/packages/b3/23/41a5a24b502d35a4ad50a5bb7202a5e1d9a0364d0c12f56db3dbf7aca76d/prometheus_client-0.7.1.tar.gz"
|
|
|
|
sha256 "71cd24a2b3eb335cb800c7159f423df1bd4dcd5171b234be15e3f31ec9f622da"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "prompt_toolkit" do
|
|
|
|
url "https://files.pythonhosted.org/packages/0c/37/7ad3bf3c6dbe96facf9927ddf066fdafa0f86766237cff32c3c7355d3b7c/prompt_toolkit-2.0.10.tar.gz"
|
|
|
|
sha256 "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "ptyprocess" do
|
|
|
|
url "https://files.pythonhosted.org/packages/7d/2d/e4b8733cf79b7309d84c9081a4ab558c89d8c89da5961bf4ddb050ca1ce0/ptyprocess-0.6.0.tar.gz"
|
|
|
|
sha256 "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "Pygments" do
|
|
|
|
url "https://files.pythonhosted.org/packages/7e/ae/26808275fc76bf2832deb10d3a3ed3107bc4de01b85dcccbe525f2cd6d1e/Pygments-2.4.2.tar.gz"
|
|
|
|
sha256 "881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "pyrsistent" do
|
|
|
|
url "https://files.pythonhosted.org/packages/30/86/53a88c0a57698fa228db29a4000c28f4124823010388cb7042fe6e2be8dd/pyrsistent-0.15.5.tar.gz"
|
|
|
|
sha256 "eb6545dbeb1aa69ab1fb4809bfbf5a8705e44d92ef8fc7c2361682a47c46c778"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "python-dateutil" do
|
|
|
|
url "https://files.pythonhosted.org/packages/ad/99/5b2e99737edeb28c71bcbec5b5dda19d0d9ef3ca3e92e3e925e7c0bb364c/python-dateutil-2.8.0.tar.gz"
|
|
|
|
sha256 "c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "pyzmq" do
|
|
|
|
url "https://files.pythonhosted.org/packages/7a/d2/1eb3a994374802b352d4911f3317313a5b4ea786bc830cc5e343dad9b06d/pyzmq-18.1.0.tar.gz"
|
|
|
|
sha256 "93f44739db69234c013a16990e43db1aa0af3cf5a4b8b377d028ff24515fbeb3"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "Send2Trash" do
|
|
|
|
url "https://files.pythonhosted.org/packages/13/2e/ea40de0304bb1dc4eb309de90aeec39871b9b7c4bd30f1a3cdcb3496f5c0/Send2Trash-1.5.0.tar.gz"
|
|
|
|
sha256 "60001cc07d707fe247c94f74ca6ac0d3255aabcb930529690897ca2a39db28b2"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "six" do
|
|
|
|
url "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz"
|
|
|
|
sha256 "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "terminado" do
|
|
|
|
url "https://files.pythonhosted.org/packages/ae/fc/f5c7c36ac0da236078a26da7dce5748db45c8273cd551232ae01b26043b3/terminado-0.8.2.tar.gz"
|
|
|
|
sha256 "de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "testpath" do
|
|
|
|
url "https://files.pythonhosted.org/packages/06/30/9a7e917066d851d8b4117e85794b5f14516419ea714a8a2681ec6aa8a981/testpath-0.4.2.tar.gz"
|
|
|
|
sha256 "b694b3d9288dbd81685c5d2e7140b81365d46c29f5db4bc659de5aa6b98780f8"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "tornado" do
|
|
|
|
url "https://files.pythonhosted.org/packages/30/78/2d2823598496127b21423baffaa186b668f73cd91887fcef78b6eade136b/tornado-6.0.3.tar.gz"
|
|
|
|
sha256 "c845db36ba616912074c5b1ee897f8e0124df269468f25e4fe21fe72f6edd7a9"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "traitlets" do
|
|
|
|
url "https://files.pythonhosted.org/packages/75/b0/43deb021bc943f18f07cbe3dac1d681626a48997b7ffa1e7fb14ef922b21/traitlets-4.3.3.tar.gz"
|
|
|
|
sha256 "d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "wcwidth" do
|
|
|
|
url "https://files.pythonhosted.org/packages/55/11/e4a2bb08bb450fdbd42cc709dd40de4ed2c472cf0ccb9e64af22279c5495/wcwidth-0.1.7.tar.gz"
|
|
|
|
sha256 "3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "webencodings" do
|
|
|
|
url "https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda530866a85075641cec12989bd8d31af6d5ab4a3e8c92f47/webencodings-0.5.1.tar.gz"
|
|
|
|
sha256 "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "zipp" do
|
|
|
|
url "https://files.pythonhosted.org/packages/57/dd/585d728479d97d25aeeb9aa470d36a4ad8d0ba5610f84e14770128ce6ff7/zipp-0.6.0.tar.gz"
|
|
|
|
sha256 "3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e"
|
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV["JUPYTER_PATH"] = etc/"jupyter"
|
|
|
|
xy = Language::Python.major_minor_version "python3"
|
|
|
|
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python#{xy}/site-packages"
|
|
|
|
|
|
|
|
# gather packages to link based on options
|
|
|
|
linked = %w[jupyter-core jupyter-client nbformat ipykernel jupyter-console
|
|
|
|
nbconvert notebook]
|
|
|
|
dependencies = resources.map(&:name).to_set - linked
|
|
|
|
|
|
|
|
# install dependent packages
|
|
|
|
dependencies.each do |r|
|
|
|
|
resource(r).stage do
|
|
|
|
system "python3", *Language::Python.setup_install_args(libexec/"vendor")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# install main packages and link with env script
|
|
|
|
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python#{xy}/site-packages"
|
|
|
|
linked.each do |r|
|
|
|
|
resource(r).stage do
|
|
|
|
system "python3", *Language::Python.setup_install_args(libexec)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
bin.install Dir["#{libexec}/bin/*"]
|
|
|
|
bin.env_script_all_files(libexec/"bin", :JUPYTER_PATH => ENV["JUPYTER_PATH"], :PYTHONPATH => ENV["PYTHONPATH"])
|
|
|
|
|
|
|
|
# remove bundled kernel
|
|
|
|
rm_rf Dir["#{libexec}/share/jupyter/kernels"]
|
|
|
|
|
|
|
|
# install completion
|
|
|
|
resource("jupyter-core").stage do
|
|
|
|
bash_completion.install "examples/jupyter-completion.bash" => "jupyter"
|
|
|
|
zsh_completion.install "examples/completions-zsh" => "_jupyter"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<~EOS
|
|
|
|
Additional kernels can be installed into the shared jupyter directory
|
|
|
|
#{etc}/jupyter
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match "python3", shell_output("#{bin}/jupyter kernelspec list")
|
|
|
|
|
|
|
|
(testpath/"console.exp").write <<~EOS
|
|
|
|
spawn #{bin}/jupyter-console
|
|
|
|
expect "In "
|
|
|
|
send "exit\r"
|
|
|
|
EOS
|
|
|
|
assert_match "Jupyter console", shell_output("expect -f console.exp")
|
|
|
|
|
|
|
|
(testpath/"notebook.exp").write <<~EOS
|
|
|
|
spawn #{bin}/jupyter-notebook --no-browser
|
|
|
|
expect "NotebookApp"
|
|
|
|
EOS
|
|
|
|
assert_match "NotebookApp", shell_output("expect -f notebook.exp")
|
|
|
|
|
|
|
|
(testpath/"nbconvert.ipynb").write <<~EOS
|
|
|
|
{
|
|
|
|
"cells": []
|
|
|
|
}
|
|
|
|
EOS
|
|
|
|
system bin/"jupyter-nbconvert", "nbconvert.ipynb"
|
|
|
|
assert_predicate testpath/"nbconvert.html", :exist?, "Failed to export HTML"
|
|
|
|
|
|
|
|
assert_match "-F _jupyter",
|
|
|
|
shell_output("source #{bash_completion}/jupyter && complete -p jupyter")
|
|
|
|
end
|
|
|
|
end
|