Skip to content

Commit 3bf4823

Browse files
committed
Apply review suggestion
1 parent d6ab02f commit 3bf4823

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

setup.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@
1616
HERE = Path(__file__).parent.resolve()
1717

1818
# The name of the project
19-
name = "jupyterlab_snippets"
19+
name = "jupyterlab-snippets"
20+
package = name.replace("-", "_")
2021

21-
lab_path = (HERE / name / "labextension")
22+
lab_path = (HERE / package / "labextension")
2223

2324
# Representative files that should exist after a successful build
2425
jstargets = [
2526
str(lab_path / "package.json"),
2627
]
2728

2829
package_data_spec = {
29-
name: ["*"],
30+
package: ["*"],
3031
}
3132

3233
labext_name = "jupyterlab-snippets"
@@ -60,7 +61,7 @@
6061
pkg_json = json.loads((HERE / "package.json").read_bytes())
6162

6263
setup_args = dict(
63-
name=name,
64+
name=package,
6465
version=pkg_json["version"],
6566
url=pkg_json["homepage"],
6667
author=pkg_json["author"]["name"],

0 commit comments

Comments
 (0)