-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
88 lines (74 loc) · 1.81 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
87
88
[build-system]
requires = ["hatchling", "hatch-vcs", "requests"]
build-backend = "hatchling.build"
[project]
name = "panda-jedi"
dynamic = ["version"]
description = "PanDA JEDI Package"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{ name = "PanDA Team", email = "panda-support@cern.ch" },
]
dependencies = [
'panda-common>=0.0.38',
'panda-server>=0.3.23',
'python-daemon',
'numpy',
'pyyaml',
'requests',
'packaging'
]
requires-python = ">=3.8"
[project.optional-dependencies]
oracle = ['oracledb']
mysql = ['mysqlclient']
postgres = ['psycopg2-binary']
rucio = ['rucio-clients']
elasticsearch = ['elasticsearch']
atlasprod = ['oracledb', 'rucio-clients', 'idds-common', 'idds-client']
[project.urls]
Homepage = "https://panda-wms.readthedocs.io/en/latest/"
[tool.hatch.version]
path = "PandaPkgInfo.py"
pattern = "release_version = \"(?P<version>[^\"]+)\""
[tool.hatch.build]
directory = "dist"
[tool.hatch.build.targets.wheel]
exclude = ["*.template"]
packages = ["pandajedi"]
[tool.hatch.build.targets.wheel.shared-data]
"templates" = "etc/panda"
"templates/sysconfig" = "etc/sysconfig"
"templates/init.d" = "etc/rc.d/init.d"
"templates/systemd" = "etc/systemd/system"
"templates/bin" = "usr/bin"
[tool.hatch.build.targets.wheel.hooks.custom]
path = "package/hatch_build.py"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
".idea",
]
[tool.black]
line-length=160
[tool.autopep8]
# https://pypi.org/project/autopep8/#pyproject-toml
max_line_length = 160
ignore = ["E203", "E501", "W6"]
in-place = true
recursive = true
aggressive = 3
[tool.pylint]
max-line-length = 160
[tool.pylint.'MESSAGES CONTROL']
disable = [
"C0209",
"R0902",
"R0913",
"R0914", # R0914: Too many local variables
]
[tool.isort]
profile = "black"
[tool.flynt]
line-length = 160