-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
78 lines (70 loc) · 2.89 KB
/
setup.cfg
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
###############################################################################
# Setuptools
###############################################################################
[metadata]
name = HK-Comp
description = Computing commands for HK (DIRAC, gfal...)
long_description = file: README.rst
url = https://gitlab.in2p3.fr/hk/computing/hkdirac
license = GPL-3.0-only
license_files = file: LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering
Topic :: System :: Distributed Computing
[options]
python_requires = >=3.8
package_dir=
=src
packages = find:
install_requires =
DIRAC==8.0
tqdm
gfal2-python
zip_safe = False
include_package_data = True
[options.package_data]
[options.packages.find]
where=src
[options.extras_require]
server =
DIRAC[server]
testing =
mock
pytest
[options.entry_points]
dirac =
metadata = HKComp:extension_metadata
# For details on adding additional scripts see
# https://dirac.readthedocs.io/en/integration/DeveloperGuide/AddingNewComponents/DevelopingCommands/index.html
console_scripts =
# DIRACDataManagementSystem
hk-dms-bringonline-and-replicate = HKComp.DIRACDataManagementSystem.scripts.hk_dms_bringonline_and_replicate:main
hk-dms-find-missing-files = HKComp.DIRACDataManagementSystem.scripts.hk_dms_find_missing_files:main
hk-dms-find-replicas = HKComp.DIRACDataManagementSystem.scripts.hk_dms_find_replicas:main
hk-dms-get-ancestors = HKComp.DIRACDataManagementSystem.scripts.hk_dms_get_ancestors:main
; hk-dms-mass-replicate = HKComp.HKTools.scripts.hk_dms_mass_replicate:main
# DIRAC Request Management System
hk-rms-submit-requests = HKComp.DIRACRequestManagementSystem.scripts.hk_rms_submit_requests:main
hk-rms-submit-split-requests = HKComp.DIRACRequestManagementSystem.scripts.hk_rms_submit_split_requests:main
hk-rms-check-request = HKComp.DIRACRequestManagementSystem.scripts.hk_rms_check_request:main
# HKTools
hk-gfal-check = HKComp.Interfaces.scripts.hk_gfal_check:main
###############################################################################
# Linting
###############################################################################
[pycodestyle]
# Pep8 codes:
# E203 - Whitespace before ':' (spaces should be present for list slices)
# E211 - Whitespace before '(' (black incorrectly formats exec when in Python 2 mode)
# E266 - Too many leading '#' for block comment
# E402 - module level import not at top of file (for scripts)
# W503 - line break before binary operator (stupid, complains after or before...)
ignore = E203, E211, E266, E402, W503
# TODO: This should be reduced back to 120 at some point
max_line_length=130