mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-11 12:30:51 +08:00
prevent installation if main.min.js are missing
This commit is contained in:
parent
d54d7904ee
commit
3cf959734d
@ -107,7 +107,12 @@ def find_package_data():
|
|||||||
continue
|
continue
|
||||||
for f in files:
|
for f in files:
|
||||||
static_data.append(pjoin(parent, f))
|
static_data.append(pjoin(parent, f))
|
||||||
|
|
||||||
|
# for verification purposes, explicitly add main.min.js
|
||||||
|
# so that installation will fail if they are missing
|
||||||
|
for app in ['auth', 'edit', 'notebook', 'terminal', 'tree']:
|
||||||
|
static_data.append(pjoin('static', app, 'js', 'main.min.js'))
|
||||||
|
|
||||||
components = pjoin("static", "components")
|
components = pjoin("static", "components")
|
||||||
# select the components we actually need to install
|
# select the components we actually need to install
|
||||||
# (there are lots of resources we bundle for sdist-reasons that we don't actually use)
|
# (there are lots of resources we bundle for sdist-reasons that we don't actually use)
|
||||||
|
Loading…
Reference in New Issue
Block a user