Skip to content

Commit 2e9ffa2

Browse files
authored
Switch to flit build backend (#271)
1 parent db41442 commit 2e9ffa2

File tree

5 files changed

+86
-112
lines changed

5 files changed

+86
-112
lines changed

.flake8

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[flake8]
2+
ignore = E501, W503, E402
3+
builtins = c, get_config
4+
exclude =
5+
.cache,
6+
.github,
7+
docs,
8+
setup.py
9+
enable-extensions = G
10+
extend-ignore =
11+
G001, G002, G004, G200, G201, G202,
12+
# black adds spaces around ':'
13+
E203,
14+
per-file-ignores =
15+
# B011: Do not call assert False since python -O removes these calls
16+
# F841 local variable 'foo' is assigned to but never used
17+
tests/*: B011, F841

MANIFEST.in

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

pyproject.toml

Lines changed: 69 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,77 @@
11
[build-system]
2-
requires = ["jupyter_packaging>=0.9", "jupyter_server"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["flit_core >=3.2,<4"]
3+
build-backend = "flit_core.buildapi"
4+
5+
[project]
6+
name = "jupyterlab_server"
7+
license = { file = "LICENSE" }
8+
description = "A set of server components for JupyterLab and JupyterLab like applications."
9+
keywords = ["jupyter", "jupyterlab"]
10+
classifiers = [
11+
"Framework :: Jupyter",
12+
"Framework :: Jupyter :: JupyterLab",
13+
"Intended Audience :: Developers",
14+
"Intended Audience :: Science/Research",
15+
"Intended Audience :: System Administrators",
16+
"License :: OSI Approved :: BSD License",
17+
"Programming Language :: Python",
18+
"Programming Language :: Python :: 3 :: Only",
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+
requires-python = ">=3.7"
24+
dependencies = [
25+
"babel",
26+
"importlib_metadata>=3.6;python_version<\"3.10\"",
27+
"jinja2>=3.0.3",
28+
"json5",
29+
"jsonschema>=3.0.1",
30+
"jupyter_server>=1.8,<2",
31+
"packaging",
32+
"requests",
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.urls]
45+
Homepage = "https://jupyterlab-server.readthedocs.io"
46+
Documentation = "https://jupyterlab-server.readthedocs.io"
47+
Funding = "https://numfocus.org/donate-to-jupyter"
48+
Source = "https://github.com/jupyterlab/jupyterlab_server"
49+
Tracker = "https://github.com/jupyterlab/jupyterlab_server/issues"
50+
51+
[project.optional-dependencies]
52+
openapi = [
53+
"openapi_core>=0.14.2",
54+
"ruamel.yaml",
55+
]
56+
test = [
57+
"codecov",
58+
"ipykernel",
59+
"jupyter_server[test]",
60+
"openapi_core>=0.14.2",
61+
"openapi-spec-validator<0.5",
62+
"pytest>=5.3.2",
63+
"pytest-console-scripts",
64+
"pytest-cov",
65+
"ruamel.yaml",
66+
"strict-rfc3339"
67+
]
68+
69+
[tool.flit.sdist]
70+
include = ["tests/"]
471

572
[tool.jupyter-releaser]
673
skip = ["check-links"]
774

8-
[tool.check-manifest]
9-
ignore = ["tbump.toml", ".*", "*.yml", "docs/source/api/app-config.rst", "docs/source/changelog.md"]
10-
ignore-bad-ideas = ["tests/translations/**/*.mo"]
11-
1275
[tool.tbump.version]
1376
current = "2.13.0"
1477
regex = '''

setup.cfg

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

setup.py

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

0 commit comments

Comments
 (0)