File tree Expand file tree Collapse file tree 2 files changed +14
-18
lines changed Expand file tree Collapse file tree 2 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -7,21 +7,11 @@ from {{ module.pyRelativePath }} import *
7
7
{ {/each} }
8
8
9
9
10
- def _prefix():
11
- import sys
12
- from pathlib import Path
13
- prefix = sys.prefix
14
- here = Path(__file__).parent
15
- # for when in dev mode
16
- if (here.parent / 'setup.py').exists():
17
- prefix = here.parent
18
- return prefix
19
-
20
10
21
11
def _jupyter_labextension_paths():
22
12
return [{
23
- ' src' : f ' {_prefix()}/share/jupyter/labextensions/{npm_pkg_name}/ ' ,
24
- ' dest' : f ' { npm_pkg_name} ' ,
13
+ ' src' : ' labextension ' ,
14
+ ' dest' : npm_pkg_name,
25
15
} ]
26
16
27
17
Original file line number Diff line number Diff line change
1
+ version : 2
1
2
type : sphinx
3
+ build :
4
+ tools :
5
+ python : " 3.10"
6
+ nodejs : " 18"
2
7
python :
3
- version : 3.5
4
- pip_install : true
5
- extra_requirements :
6
- - examples
7
- - docs
8
+ install :
9
+ - method : pip
10
+ path : .
11
+ extra_requirements :
12
+ - examples
13
+ - docs
8
14
conda :
9
- file : docs/environment.yml
15
+ environment : docs/environment.yml
You can’t perform that action at this time.
0 commit comments