Warning, /harvester/pyproject.toml is written in an unsupported language. File is not indexed.
0001 # placed in a sub directory since the top directory is problematic for old setuptools and legacy python
0002
0003 [build-system]
0004 requires = ["hatchling"]
0005 build-backend = "hatchling.build"
0006
0007 [project]
0008 name = "pandaharvester"
0009 dynamic = ["version"]
0010 description = "Harvester Package"
0011 readme = "README.md"
0012 requires-python = ">=3.10"
0013 license = {text = "Apache-2.0"}
0014 authors = [
0015 { name = "PanDA Team", email = "panda-support@cern.ch" },
0016 ]
0017
0018 dependencies = [
0019 'requests',
0020 'python-daemon',
0021 'pycryptodomex',
0022 'panda-common >= 0.1.1',
0023 'pyjwt',
0024 'rpyc',
0025 'paramiko',
0026 'pexpect',
0027 'psutil >= 5.4.8',
0028 'panda-pilot >= 2.7.2.1',
0029 'polars',
0030 ]
0031
0032 [project.optional-dependencies]
0033 kubernetes = ['kubernetes', 'pyyaml']
0034 mysql = ['mysqlclient']
0035 atlasgrid = ['uWSGI >= 2.0.20', 'htcondor >= 10.3.0', 'mysqlclient >= 2.1.1']
0036
0037 [project.urls]
0038 Homepage = "https://github.com/PanDAWMS/panda-harvester/wiki"
0039
0040 [tool.hatch.version]
0041 path = "pandaharvester/panda_pkg_info.py"
0042 pattern = "release_version = \"(?P<version>[^\"]+)\""
0043
0044 [tool.hatch.build]
0045 directory = "dist"
0046
0047 [tool.hatch.build.targets.wheel]
0048 packages = ["pandaharvester"]
0049
0050 [tool.hatch.build.targets.wheel.shared-data]
0051 "templates/panda" = "etc/panda"
0052 "templates/sysconfig" = "etc/sysconfig"
0053 "templates/init.d" = "etc/rc.d/init.d"
0054 "templates/systemd" = "etc/systemd/system"
0055 "templates/logrotate.d" = "etc/logrotate.d"
0056 "templates/bin" = "local/bin"
0057
0058 [tool.hatch.build.targets.wheel.hooks.custom]
0059 path = "package/hatch_build.py"
0060
0061 [tool.hatch.build.targets.sdist]
0062 exclude = [
0063 ".github",
0064 ".idea",
0065 ]
0066
0067 [tool.black]
0068 line-length=160
0069
0070 [tool.autopep8]
0071 # https://pypi.org/project/autopep8/#pyproject-toml
0072 max_line_length = 160
0073 ignore = ["E203", "E501", "W6"]
0074 in-place = true
0075 recursive = true
0076 aggressive = 3
0077
0078 [tool.isort]
0079 profile = "black"
0080
0081 [tool.flynt]
0082 line-length = 160