-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
62 lines (52 loc) · 1.39 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
# This file is part of cjdk.
# Copyright 2022 Board of Regents of the University of Wisconsin System
# SPDX-License-Identifier: MIT
[build-system]
requires = [
"setuptools>=43",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "cjdk"
dynamic = ["version"]
description = "Auto-download JDK or JRE and run Java apps from Python or CLI"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE.txt"}
keywords = ["Java", "JDK", "JRE", "JVM"]
authors = [
{name = "Mark A. Tsuchida"},
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Java",
"Topic :: Software Development",
]
dependencies = [
"click >= 8.0",
"progressbar2 >= 4.0",
"requests >= 2.24",
]
[project.optional-dependencies]
testing = [
"flask >= 2.0",
"pytest >= 7.0",
"werkzeug >= 2.0",
]
[project.urls]
Documentation = "https://cachedjdk.github.io/cjdk/latest"
Repository = "https://github.com/cachedjdk/cjdk"
[project.scripts]
cjdk = "cjdk.__main__:main"
[tool.setuptools_scm]
write_to = "src/cjdk/_version.py"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["E", "F", "UP", "B", "SIM", "I"]
# Disable rules that failed when we switched to ruff. To be cleaned up.
ignore = ["B006", "B007", "B011", "B017", "E501"]