File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 16
16
HERE = Path (__file__ ).parent .resolve ()
17
17
18
18
# The name of the project
19
- name = "jupyterlab_snippets"
19
+ name = "jupyterlab-snippets"
20
+ package = name .replace ("-" , "_" )
20
21
21
- lab_path = (HERE / name / "labextension" )
22
+ lab_path = (HERE / package / "labextension" )
22
23
23
24
# Representative files that should exist after a successful build
24
25
jstargets = [
25
26
str (lab_path / "package.json" ),
26
27
]
27
28
28
29
package_data_spec = {
29
- name : ["*" ],
30
+ package : ["*" ],
30
31
}
31
32
32
33
labext_name = "jupyterlab-snippets"
60
61
pkg_json = json .loads ((HERE / "package.json" ).read_bytes ())
61
62
62
63
setup_args = dict (
63
- name = name ,
64
+ name = package ,
64
65
version = pkg_json ["version" ],
65
66
url = pkg_json ["homepage" ],
66
67
author = pkg_json ["author" ]["name" ],
You can’t perform that action at this time.
0 commit comments