-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from Zsailer/jupyter-packaging-1
Use Jupyter Packaging and other cleanup
- Loading branch information
Showing
18 changed files
with
96 additions
and
820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
include LICENSE | ||
include setupbase.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[build-system] | ||
requires = ["jupyter_packaging~=0.9,<2"] | ||
build-backend = "jupyter_packaging.build_api" | ||
|
||
[tool.check-manifest] | ||
ignore = ["tbump.toml", ".*", "conftest.py"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--doctest-modules" | ||
norecursedirs = ["confs"] | ||
testpaths = [ | ||
"nbclassic/tests" | ||
] | ||
|
||
[tool.jupyter-releaser] | ||
skip = ["check-links"] | ||
|
||
[tool.tbump.version] | ||
current = "0.3.2" | ||
regex = ''' | ||
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) | ||
((?P<channel>a|b|rc|.dev)(?P<release>\d+))? | ||
''' | ||
|
||
[tool.tbump.git] | ||
message_template = "Bump to {new_version}" | ||
tag_template = "v{new_version}" | ||
|
||
[[tool.tbump.file]] | ||
src = "nbclassic/__version__.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,58 @@ | ||
[tool:pytest] | ||
addopts = | ||
--color=yes | ||
-s | ||
[metadata] | ||
name = nbclassic | ||
version = attr: nbclassic.__version__.__version__ | ||
description = Jupyter Notebook as a Jupyter Server extension. | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
license_file = LICENSE | ||
author = Jupyter Development Team | ||
author_email = jupyter@googlegroups.com | ||
url = https://jupyter.org | ||
platforms = Linux, Mac OS X, Windows | ||
keywords = ipython, jupyter | ||
classifiers = | ||
Intended Audience :: Developers | ||
Intended Audience :: System Administrators | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: BSD License | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
|
||
[options] | ||
zip_safe = False | ||
include_package_data = True | ||
packages = find: | ||
python_requires = >=3.6 | ||
install_requires = | ||
notebook<7 | ||
jupyter_server~=1.8 | ||
|
||
[options.data_files] | ||
etc/jupyter/jupyter_server_config.d = | ||
jupyter_server_config.d/nbclassic.json | ||
|
||
|
||
[options.extras_require] | ||
test = | ||
pytest | ||
pytest-tornasync | ||
pytest-console-scripts | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
jupyter-nbclassic = nbclassic.notebookapp:main | ||
|
||
[options.packages.find] | ||
exclude = ['docs*'] | ||
|
||
[flake8] | ||
ignore = E, C, W, F401, F403, F811, F841, E402, I100, I101, D400 | ||
builtins = c, get_config | ||
exclude = | ||
.cache, | ||
.github, | ||
docs, | ||
setup.py |
Oops, something went wrong.