Description: don't try to build JS package with npm Author: Yadd Forwarded: (no|not-needed|) Last-Update: 2023-12-26 --- a/bqplot/setup.py +++ b/bqplot/setup.py @@ -46,17 +46,8 @@ ('etc/jupyter/nbconfig/notebook.d', 'etc/jupyter/nbconfig/notebook.d', 'bqplot.json'), ] -js_command = combine_commands( - install_npm(js_dir, build_dir='share/jupyter/', source_dir='js/src', build_cmd='build'), ensure_targets(jstargets), -) - # Adding "map_data" as package_data manually, this should not be needed because it's already # specified in MANIFEST and include_package_data=True. This might be a bug in jupyter-packaging? cmdclass = create_cmdclass('jsdeps', data_files_spec=data_files_spec, package_data_spec={"bqplot": ["map_data/*.json"]}) -is_repo = os.path.exists(os.path.join(here, '.git')) -if is_repo: - cmdclass['jsdeps'] = js_command -else: - cmdclass['jsdeps'] = skip_if_exists(jstargets, js_command) setup(version=version, cmdclass=cmdclass)