File tree Expand file tree Collapse file tree 5 files changed +12
-10
lines changed
{{cookiecutter.github_project_name}}
{{cookiecutter.python_package_name}}/nbextension Expand file tree Collapse file tree 5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
+ dist : xenial
3
+ services :
4
+ - xvfb
2
5
python :
3
- - 3.6
6
+ - 3.7
4
7
sudo : false
5
8
addons :
6
9
apt_packages :
@@ -21,8 +24,6 @@ install:
21
24
before_script :
22
25
- |
23
26
export CHROME_BIN=chromium-browser
24
- export DISPLAY=:99.0
25
- sh -e /etc/init.d/xvfb start
26
27
script :
27
28
- py.test
28
29
- npm test
Original file line number Diff line number Diff line change 1
1
language : python
2
2
python :
3
+ - 3.7
3
4
- 3.6
4
5
- 3.5
5
- - 3.4
6
6
sudo : false
7
+ dist : xenial
8
+ services :
9
+ - xvfb
7
10
addons :
8
11
apt_packages :
9
12
- pandoc
@@ -45,8 +48,6 @@ before_script:
45
48
- |
46
49
if [[ $GROUP == js ]]; then
47
50
export CHROME_BIN=chromium-browser
48
- export DISPLAY=:99.0
49
- sh -e /etc/init.d/xvfb start
50
51
fi
51
52
git config --global user.email [email protected]
52
53
git config --global user.name "Travis CI"
Original file line number Diff line number Diff line change 8
8
// Some static assets may be required by the custom widget javascript. The base
9
9
// url for the notebook is not known at build time and is therefore computed
10
10
// dynamically.
11
- ( window as any ) . __webpack_public_path__ = document . querySelector ( 'body' ) ! . getAttribute ( 'data-base-url' ) + 'nbextensions/{{ cookiecutter.npm_package_name }}' ;
11
+ ( window as any ) . __webpack_public_path__ = document . querySelector ( 'body' ) ! . getAttribute ( 'data-base-url' ) + 'nbextensions/{{ cookiecutter.python_package_name }}' ;
12
12
13
13
export * from './index' ;
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ def _jupyter_nbextension_paths():
8
8
return [{
9
9
'section' : 'notebook' ,
10
10
'src' : 'nbextension/static' ,
11
- 'dest' : '{{ cookiecutter.npm_package_name }}' ,
12
- 'require' : '{{ cookiecutter.npm_package_name }}/extension'
11
+ 'dest' : '{{ cookiecutter.python_package_name }}' ,
12
+ 'require' : '{{ cookiecutter.python_package_name }}/extension'
13
13
}]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ define(function() {
6
6
window [ 'requirejs' ] . config ( {
7
7
map : {
8
8
'*' : {
9
- '{{ cookiecutter.npm_package_name }}' : 'nbextensions/{{ cookiecutter.npm_package_name }}/index' ,
9
+ '{{ cookiecutter.npm_package_name }}' : 'nbextensions/{{ cookiecutter.python_package_name }}/index' ,
10
10
} ,
11
11
}
12
12
} ) ;
You can’t perform that action at this time.
0 commit comments