We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6ab02f commit 3bf4823Copy full SHA for 3bf4823
setup.py
@@ -16,17 +16,18 @@
16
HERE = Path(__file__).parent.resolve()
17
18
# The name of the project
19
-name = "jupyterlab_snippets"
+name = "jupyterlab-snippets"
20
+package = name.replace("-", "_")
21
-lab_path = (HERE / name / "labextension")
22
+lab_path = (HERE / package / "labextension")
23
24
# Representative files that should exist after a successful build
25
jstargets = [
26
str(lab_path / "package.json"),
27
]
28
29
package_data_spec = {
- name: ["*"],
30
+ package: ["*"],
31
}
32
33
labext_name = "jupyterlab-snippets"
@@ -60,7 +61,7 @@
60
61
pkg_json = json.loads((HERE / "package.json").read_bytes())
62
63
setup_args = dict(
- name=name,
64
+ name=package,
65
version=pkg_json["version"],
66
url=pkg_json["homepage"],
67
author=pkg_json["author"]["name"],
0 commit comments