-
Notifications
You must be signed in to change notification settings - Fork 134
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 #389 from blink1073/update-packaging
Clean up packaging and add py312 support
- Loading branch information
Showing
14 changed files
with
124 additions
and
252 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
This file was deleted.
Oops, something went wrong.
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
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
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,90 @@ | ||
[build-system] | ||
requires = ["hatchling>=1.5"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "jupyter-kernel-gateway" | ||
dynamic = ["version"] | ||
description = "A web server for spawning and communicating with Jupyter kernels" | ||
readme = "README.md" | ||
license = { file = "LICENSE.md" } | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "Jupyter Development Team", email = "[email protected]" }, | ||
] | ||
keywords = [ | ||
"Cloud", | ||
"Interactive", | ||
"Interpreter", | ||
"Kernel", | ||
"Web", | ||
] | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
dependencies = [ | ||
"jupyter_client>=7.4.4", | ||
"jupyter_core>=4.12,!=5.0.*", | ||
"jupyter_server>=2.0", | ||
"requests>=2.7,<3.0", | ||
"tornado>=6.2.0", | ||
"traitlets>=5.6.0", | ||
] | ||
|
||
[project.scripts] | ||
jupyter-kernelgateway = "kernel_gateway:launch_instance" | ||
|
||
[project.urls] | ||
Homepage = "http://github.com/jupyter-incubator/kernel_gateway" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"coverage", | ||
"pytest", | ||
"pytest-cov", | ||
"pytest_jupyter", | ||
"pytest-timeout", | ||
"ipykernel", | ||
] | ||
docs = [ | ||
"sphinx_rtd_theme", | ||
"sphinx", | ||
"myst-parser", | ||
] | ||
|
||
[tool.hatch.version] | ||
path = "kernel_gateway/_version.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/kernel_gateway", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["kernel_gateway"] | ||
|
||
[tool.hatch.envs.docs] | ||
features = ["docs"] | ||
[tool.hatch.envs.docs.scripts] | ||
build = "make -C docs html SPHINXOPTS='-W'" | ||
|
||
[tool.hatch.envs.test] | ||
features = ["test"] | ||
[tool.hatch.envs.test.scripts] | ||
test = "python -m pytest -vv {args}" | ||
|
||
[tool.hatch.envs.cov] | ||
features = ["test"] | ||
dependencies = ["coverage[toml]", "pytest-cov"] | ||
[tool.hatch.envs.cov.scripts] | ||
test = "python -m pytest -vv --cov kernel_gateway --cov-branch --cov-report term-missing:skip-covered {args}" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.