-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
105 lines (94 loc) · 2.9 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
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
[metadata]
url = https://pasta-eln.github.io/
author = The PASTA-ELN Team and Steffen Brinckmann
author_email = sbrinckm@gmail.com
description = The favorite ELN for experimental scientists
long_description = file:README_PYPI.md
long_description_content_type = text/markdown; charset=UTF-8
license = MIT
classifiers =
Programming Language :: Python
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
[options]
python_requires = >= 3.10
# https://setuptools.pypa.io/en/latest/userguide/dependency_management.html
install_requires =
aiohttp
cryptography
cairosvg
anytree
matplotlib
pandas
Pillow
pyside6
qrcode
QtAwesome
qt-material
pypiwin32;platform_system=='Windows'
requests
sqlalchemy
win-unicode-console;platform_system=='Windows'
winshell;platform_system=='Windows'
packages = find_namespace:
include_package_data = True
[options.packages.find]
include = pasta_eln*
[options.extras_require]
# this matches the name used by -core and what is expected by some CI setups
# - only for information: not used to create the devel requirements file
devel =
sphinx
sphinx-rtd-theme
[options.entry_points]
# install the GUI starter as direct entrypoints
# overhead
gui_scripts =
pastaELN = pasta_eln.gui:startMain
console_scripts =
pastaELN_CLI = pasta_eln.cli:main
pastaELN_Install = pasta_eln.installationTools:main
[coverage:report]
show_missing = True
# omit =
# # versioneer code
# # pasta_eln/_version.py
[mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
ignore_missing_imports = true
exclude = (?x)(
pasta_eln/GUI/data_hierarchy/create_type_dialog_base.py
|pasta_eln/GUI/data_hierarchy/data_hierarchy_editor_dialog_base.py
|pasta_eln/GUI/iri_lookup/dialog_base.py
|pasta_eln/GUI/data_hierarchy/type_dialog_base.py
|pasta_eln/GUI/dataverse/completed_upload_task.py
|pasta_eln/GUI/dataverse/completed_uploads_base.py
|pasta_eln/GUI/dataverse/config_dialog_base.py
|pasta_eln/GUI/dataverse/edit_metadata_dialog_base.py
|pasta_eln/GUI/dataverse/main_dialog_base.py
|pasta_eln/GUI/dataverse/primitive_compound_controlled_frame_base.py
|pasta_eln/GUI/dataverse/project_item_frame_base.py
|pasta_eln/GUI/dataverse/upload_config_dialog_base.py
|pasta_eln/GUI/dataverse/upload_widget_base.py
|pasta_eln/GUI/dataverse/edit_metadata_summary_dialog_base.py
|pasta_eln/AddOns)
[mypy-pasta_eln/GUI/data_hierarchy.*]
follow_imports = skip
[mypy-pasta_eln/GUI/dataverse.*]
follow_imports = skip
[tool:pytest]
minversion = 6.0
addopts = -ra -q
testpaths =
tests
integration
env =
D:QT_QPA_PLATFORM=offscreen
[isort]
line_length = 120
lines_between_sections = 0