-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
86 lines (77 loc) · 2.47 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "jgo"
version = "1.0.7.dev0"
description = "Launch Java code from Python and the CLI, installation-free."
license = {text = "Unlicense"}
authors = [{name = "SciJava developers", email = "[email protected]"}]
readme = "README.md"
keywords = ["java", "maven", "launch"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Java Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Shells",
"Topic :: System :: System Shells",
"Topic :: Utilities",
]
# NB: Keep this in sync with environment.yml AND dev-environment.yml!
requires-python = ">=3.8"
dependencies = [
"psutil",
]
[project.optional-dependencies]
# NB: Keep this in sync with dev-environment.yml!
dev = [
"autopep8",
"build",
"black",
"flake8",
"isort",
"pre-commit",
"pyflakes",
"pytest",
"pytest-cov",
"validate-pyproject[all]",
]
[project.scripts]
jgo = "jgo:main"
[project.urls]
homepage = "https://github.com/scijava/jgo"
documentation = "https://github.com/scijava/jgo/blob/main/README.md"
source = "https://github.com/scijava/jgo"
download = "https://pypi.org/project/jgo/"
tracker = "https://github.com/scijava/jgo/issues"
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
# Thanks to Flake8-pyproject, we can configure flake8 here!
[tool.flake8]
exclude = ["bin", "build", "docs", "dist"]
extend-ignore = ["E203"]
# See https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8
max-line-length = 88
min_python_version = "3.8"
[tool.isort]
profile = "black"