Skip to content

Commit 3ae1426

Browse files
authored
Switch to flit (#311)
* switch to flit * require 3.8+
1 parent 7b47298 commit 3ae1426

File tree

5 files changed

+72
-91
lines changed

5 files changed

+72
-91
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+
jupyter_releaser/tests/*: B011, F841

MANIFEST.in

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

pyproject.toml

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,60 @@
11
[build-system]
2-
requires = ["setuptools>=40.8.0", "wheel"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["flit_core >=3.2,<4"]
3+
build-backend = "flit_core.buildapi"
44

5-
[tool.check-manifest]
6-
ignore = ["tbump.toml", ".*", "codecov.yml"]
5+
[project]
6+
name = "jupyter_releaser"
7+
description = "Jupyter Releaser for Python and/or npm packages."
8+
license = {text = "BSD 3-Clause License"}
9+
authors = [{name = "Jupyter Development Team", email = "[email protected]"}]
10+
keywords = ["ipython", "jupyter"]
11+
classifiers = [
12+
"Intended Audience :: Developers",
13+
"Intended Audience :: System Administrators",
14+
"Intended Audience :: Science/Research",
15+
"License :: OSI Approved :: BSD License",
16+
"Programming Language :: Python",
17+
"Programming Language :: Python :: 3.8",
18+
"Programming Language :: Python :: 3.9",
19+
"Programming Language :: Python :: 3.10",
20+
]
21+
urls = {Homepage = "https://jupyter.org"}
22+
requires-python = ">=3.8"
23+
dependencies = [
24+
"build",
25+
"check-manifest",
26+
"click",
27+
"ghapi",
28+
"github-activity~=0.2",
29+
"importlib_resources",
30+
"jsonschema>=3.0.1",
31+
"packaging",
32+
"pkginfo",
33+
"pre-commit",
34+
"pypiserver",
35+
"pytest-check-links>=0.7",
36+
"requests",
37+
"requests_cache",
38+
"tbump~=6.7",
39+
"toml~=0.10",
40+
"twine",
41+
]
42+
dynamic = ["version"]
43+
44+
[project.readme]
45+
file = "README.md"
46+
content-type = "text/markdown"
47+
48+
[project.optional-dependencies]
49+
test = [
50+
"coverage",
51+
"pytest>=7.0",
52+
"pytest-cov",
53+
"pytest-mock",
54+
]
55+
56+
[project.scripts]
57+
jupyter-releaser = "jupyter_releaser.cli:main"
758

859
[tool.tbump.version]
960
current = "0.20.0"

setup.cfg

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

setup.py

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

0 commit comments

Comments
 (0)