-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
73 lines (65 loc) · 2.19 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
###############################################################################
# Setuptools
###############################################################################
[metadata]
name = EiscatDIRAC
description = EiscatDIRAC is an extention of the DIRAC.
long_description = file: README.rst
url = https://github.com/Eiscat3D/EiscatDIRAC/
license = GPL-3.0-only
license_files = 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 =
webappdirac
setuptools
zip_safe = False
include_package_data = True
[options.package_data]
* = ConfigTemplate.cfg, *.sql
[options.packages.find]
where=src
[options.extras_require]
server =
# These dependecies are made optional to make it easier to build extensions
webappdirac ~=4.3
testing =
flaky
hypothesis
mock
parameterized
pytest
pytest-cov
pytest-mock
pycodestyle
[options.entry_points]
dirac =
metadata = EiscatDIRAC:extension_metadata
# For details on adding additional scripts to vanilla DIRAC or external extensions see
# https://dirac.readthedocs.io/en/integration/DeveloperGuide/AddingNewComponents/DevelopingCommands/index.html
console_scripts =
###############################################################################
# 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