mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 01:54:09 +00:00
jsx: build directly in destination
removes `npm run place`, allows build:watch
This commit is contained in:
7
setup.py
7
setup.py
@@ -215,13 +215,6 @@ class JSX(BaseCommand):
|
||||
shell=shell,
|
||||
)
|
||||
|
||||
print("Copying JSX admin app to static/js")
|
||||
check_call(
|
||||
["npm", "run", "place"],
|
||||
cwd=self.jsx_dir,
|
||||
shell=shell,
|
||||
)
|
||||
|
||||
# update data-files in case this created new files
|
||||
self.distribution.data_files = get_data_files()
|
||||
assert not self.should_run(), 'JSX.run failed'
|
||||
|
Reference in New Issue
Block a user