Skip to content

Commit 0245548

Browse files
authored
Merge pull request #102 from datalayer-externals/ci/releaser
2 parents 46df250 + a81eb2a commit 0245548

File tree

10 files changed

+59
-9
lines changed

10 files changed

+59
-9
lines changed

MANIFEST.in

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
11
include LICENSE
2-
3-
# added by check-manifest
2+
include CONTRIBUTING.rst
3+
include README.md
4+
include CHANGELOG.md
5+
include package.json
6+
include bower.json
7+
include .bowerrc
8+
include pyproject.toml
9+
include setup.py
10+
include setupbase.py
11+
include Dockerfile
12+
include *.js
13+
include *.in
414
include *.md
5-
recursive-include docs *.md
6-
recursive-include nbclassic *.py
15+
include *.svg
16+
include *.yml
17+
recursive-include nbclassic *.cfg
18+
recursive-include nbclassic *.json
19+
recursive-include nbclassic *.less
20+
recursive-include nbclassic *.md
21+
recursive-include nbclassic *.png
722
recursive-include tests *.py
23+
recursive-include jupyter_server_config.d nbclassic.json
24+
graft tools
25+
graft notebook/tests
26+
27+
# Translations
28+
graft notebook/i18n
29+
30+
# Documentation
31+
graft docs
32+
exclude docs/\#*
33+
34+
# Examples
35+
graft examples
36+
37+
# docs subdirs we want to skip
38+
prune docs/build
39+
prune docs/gh-pages
40+
prune docs/dist
41+
42+
prune git-hooks
43+
prune docs-translations
44+
45+
# Patterns to exclude from any directory
46+
global-exclude *~
47+
global-exclude *.pyc
48+
global-exclude *.pyo
49+
global-exclude .git
50+
global-exclude .ipynb_checkpoints

nbclassic/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import re
66

77
# Version string must appear intact for tbump versioning
8-
__version__ = '0.0.4'
8+
__version__ = '0.3.7'
99

1010
# Build up version_info tuple for backwards compatibility
1111
pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)'

nbclassic/i18n/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ code for your desired language ( i.e. German = "de", Japanese = "ja", etc. ).
6767
use at runtime.
6868

6969
```shell
70-
pybabel compile -D notebook -f -l ${LANG} -i ${LANG}/LC_MESSAGES/notebook.po -o ${LANG}/LC_MESSAGES/notebook.mo
70+
pybabel compile -D notebook -f -l ${LANG} -i ${LANG}/LC_MESSAGES/nbclassic.po -o ${LANG}/LC_MESSAGES/nbclassic.mo
7171
pybabel compile -D nbui -f -l ${LANG} -i ${LANG}/LC_MESSAGES/nbui.po -o ${LANG}/LC_MESSAGES/nbui.mo
7272
```
7373

nbclassic/static/base/js/namespace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ define(function(){
7373
// tree
7474
jglobal('SessionList','tree/js/sessionlist');
7575

76-
Jupyter.version = "0.0.4";
76+
Jupyter.version = "0.3.7";
7777
Jupyter._target = '_blank';
7878

7979
return Jupyter;

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ testpaths = [
1313
]
1414

1515
[tool.jupyter-releaser]
16-
skip = ["check-links"]
16+
skip = ["check-links", "check-manifest"]
17+
18+
[tool.jupyter-releaser.hooks]
19+
after-bump-version = "python setup.py jsversion"
20+
before-build-python = ["pip install babel", "npm install -g po2json"]
21+
22+
[tool.jupyter-releaser.options]
23+
ignore-glob = ["docs/source/examples/Notebook/Working With Markdown Cells.ipynb", "docs-translations/**/README.md", "docs/source/contributing.rst", "docs/source/examples/Notebook/JavaScript Notebook Extensions.ipynb", "CHANGELOG.md", "notebook/static/components/**/*.*"]
1724

1825
[tool.tbump.version]
1926
current = "0.3.7"
@@ -27,4 +34,4 @@ message_template = "Bump to {new_version}"
2734
tag_template = "v{new_version}"
2835

2936
[[tool.tbump.file]]
30-
src = "nbclassic/__version__.py"
37+
src = "nbclassic/_version.py"

0 commit comments

Comments
 (0)