Skip to content

Commit 7cf7e9a

Browse files
committed
use flit backend
1 parent 00987a9 commit 7cf7e9a

File tree

10 files changed

+78
-128
lines changed

10 files changed

+78
-128
lines changed

setup.cfg renamed to .flake8

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@ per-file-ignores =
1616
# F841 local variable 'foo' is assigned to but never used
1717
# B007 Loop control variable
1818
jupyter_client/tests/*: B011, F841, B007
19-
20-
[metadata]
21-
name = jupyter_client
22-
version = attr: jupyter_client._version.__version__

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ jobs:
9393

9494
- name: Build the docs
9595
run: |
96-
pip install -r requirements-doc.txt
97-
pip install .
96+
pip install ".[doc]"
9897
cd docs
9998
make html SPHINXOPTS="-W"
10099

MANIFEST.in

Lines changed: 0 additions & 23 deletions
This file was deleted.

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The recommended way to make a release is to use [`jupyter_releaser`](https://git
99
### Prerequisites
1010

1111
- First check that the CHANGELOG.md is up to date for the next release version
12-
- Install packaging requirements: `pip install tbump build tomlkit==0.7.0`
12+
- Install packaging requirements: `pip install jupyter_releaser`
1313

1414
### Bump version
1515

pyproject.toml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,78 @@
1+
[build-system]
2+
requires = ["flit_core >=3.2,<4"]
3+
build-backend = "flit_core.buildapi"
4+
5+
[project]
6+
name = "jupyter_client"
7+
description = "Jupyter protocol implementation and client libraries"
8+
keywords = [ "Interactive", "Interpreter", "Shell", "Web",]
9+
classifiers = [
10+
"Framework :: Jupyter",
11+
"Intended Audience :: Developers",
12+
"Intended Audience :: Education",
13+
"Intended Audience :: System Administrators",
14+
"Intended Audience :: Science/Research",
15+
"License :: OSI Approved :: BSD License",
16+
"Operating System :: OS Independent",
17+
"Programming Language :: Python",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.7",
20+
"Programming Language :: Python :: 3.8",
21+
"Programming Language :: Python :: 3.9",
22+
"Programming Language :: Python :: 3.10",
23+
]
24+
requires-python = ">=3.7"
25+
dependencies = [
26+
"entrypoints",
27+
"jupyter_core>=4.9.2",
28+
"nest-asyncio>=1.5.4",
29+
"python-dateutil>=2.8.2",
30+
"pyzmq>=22.3",
31+
"tornado>=6.0",
32+
"traitlets",
33+
]
34+
dynamic = [ "version",]
35+
36+
[[project.authors]]
37+
name = "Jupyter Development Team"
38+
39+
40+
[project.readme]
41+
file = "README.md"
42+
content-type = "text/markdown"
43+
44+
[project.license]
45+
text = "BSD"
46+
47+
[project.urls]
48+
Homepage = "https://jupyter.org"
49+
50+
[project.optional-dependencies]
51+
test = [
52+
"codecov",
53+
"coverage",
54+
"ipykernel>=6.5",
55+
"ipython",
56+
"mypy",
57+
"pre-commit",
58+
"pytest",
59+
"pytest-asyncio>=0.18",
60+
"pytest-cov",
61+
"pytest-timeout",
62+
]
63+
doc = [
64+
"ipykernel",
65+
"myst-parser",
66+
"sphinx>=1.3.6",
67+
"sphinx_rtd_theme",
68+
"sphinxcontrib_github_alt",
69+
]
70+
71+
[project.scripts]
72+
jupyter-kernelspec = "jupyter_client.kernelspecapp:KernelSpecApp.launch_instance"
73+
jupyter-run = "jupyter_client.runapp:RunApp.launch_instance"
74+
jupyter-kernel = "jupyter_client.kernelapp:main"
75+
176
[tool.black]
277
line-length = 100
378
skip-string-normalization = true

readthedocs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ sphinx:
44
python:
55
version: 3.7
66
install:
7-
# install docs requirements
8-
- requirements: requirements-doc.txt
97
# install jupyter-client itself
108
- method: pip
11-
path: .
9+
path: ".[doc]"

requirements-doc.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

requirements-test.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)