Skip to content

Commit

Permalink
Merge pull request #229 from jupyterlab/fix-different-python-js-names
Browse files Browse the repository at this point in the history
fix support for projects with different `python/labextension_name`
  • Loading branch information
jtpio authored Sep 27, 2022
2 parents 1218eb1 + 09a5c43 commit 468cc0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.python_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ fields = ["description", "authors", "urls"]
artifacts = ["{{ cookiecutter.python_name }}/labextension"]

[tool.hatch.build.targets.wheel.shared-data]
"{{ cookiecutter.python_name }}/labextension" = "share/jupyter/labextensions/{{ cookiecutter.python_name }}"
"install.json" = "share/jupyter/labextensions/{{ cookiecutter.python_name }}/install.json"{% if cookiecutter.kind.lower() == "server" %}
"{{ cookiecutter.python_name }}/labextension" = "share/jupyter/labextensions/{{ cookiecutter.labextension_name }}"
"install.json" = "share/jupyter/labextensions/{{ cookiecutter.labextension_name }}/install.json"{% if cookiecutter.kind.lower() == "server" %}
"jupyter-config/server-config" = "etc/jupyter/jupyter_server_config.d"
"jupyter-config/nb-config" = "etc/jupyter/jupyter_notebook_config.d"{% endif %}

Expand Down

0 comments on commit 468cc0b

Please sign in to comment.