forked from JammelBrooks/panda-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (90 loc) · 2.12 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["hatchling", "hatch-vcs", "requests"]
build-backend = "hatchling.build"
[project]
name = "panda-server"
dynamic = ["version"]
description = "PanDA Server Package"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{ name = "PanDA Team", email = "[email protected]" },
]
dependencies = [
'panda-common>=0.1.1',
'panda-client-light>=1.5.55',
'pyOpenSSL',
'python-daemon',
'mod_wsgi',
'stomp.py',
'pyyaml',
'pyjwt',
'requests',
'psutil>=5.4.8',
'idds-common',
'idds-client',
'idds-workflow>=1.1.0',
'idds-doma',
'idds-atlas',
'ruamel.yaml',
'cwl-utils>=0.13',
'packaging',
'snakemake==7.30.1',
'numpy',
'scipy',
'werkzeug',
'requests',
]
requires-python = ">=3.8"
[project.optional-dependencies]
oracle = ['oracledb']
mysql = ['mysqlclient']
postgres = ['psycopg2-binary']
rucio = ['rucio-clients']
elasticsearch = ['elasticsearch']
atlasprod = ['oracledb', 'rucio-clients', 'elasticsearch', 'numpy', 'scipy']
[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 = ["pandaserver", "package"]
[tool.hatch.build.targets.wheel.shared-data]
"templates" = "etc/panda"
"templates/bin" = "usr/bin"
"templates/init.d" = "etc/rc.d/init.d"
"templates/systemd" = "etc/systemd/system"
"templates/sysconfig" = "etc/panda"
[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 = ["E501", "W6"]
in-place = true
recursive = true
aggressive = 3
[tool.pylint.master]
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