-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
178 lines (153 loc) · 4.65 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# This file is used to configure your project.
# Read more about the various options under:
# https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
# https://setuptools.pypa.io/en/latest/references/keywords.html
[metadata]
name = madonna
description = Orthogonal DPNN training methods
author = Daniel Coquelin
author_email = daniel.coquelin@kit.edu
license = BSD-3
license_files = LICENSE.txt
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM
url = https://github.com/pyscaffold/pyscaffold/
# Add here related links, for example:
project_urls =
Documentation = https://pyscaffold.org/
# Source = https://github.com/pyscaffold/pyscaffold/
# Changelog = https://pyscaffold.org/en/latest/changelog.html
# Tracker = https://github.com/pyscaffold/pyscaffold/issues
# Conda-Forge = https://anaconda.org/conda-forge/pyscaffold
# Download = https://pypi.org/project/PyScaffold/#files
# Twitter = https://twitter.com/PyScaffold
# Change if running only on Windows, Mac or Linux (comma-separated)
platforms = any
# Add here all kinds of additional classifiers as defined under
# https://pypi.org/classifiers/
classifiers =
Development Status :: 4 - Beta
Programming Language :: Python
[options]
zip_safe = False
packages = find_namespace:
include_package_data = True
package_dir =
=src
# Require a min/specific Python version (comma-separated conditions)
# python_requires = >=3.8
# Add here dependencies of your project (line-separated), e.g. requests>=2.2,<3.0.
# Version specifiers like >=2.2,<3.0 avoid problems due to API changes in
# new major versions. This works if the required packages follow Semantic Versioning.
# For more information, check out https://semver.org/.
install_requires =
importlib-metadata; python_version<"3.8"
black # code formatting
flake8 # code analysis
hydra-colorlog>=1.1.0
# --------- hydra --------- #
hydra-core>=1.1.0
hydra-optuna-sweeper>=1.1.0
isort # import sorting
# --------- loggers --------- #
# wandb
# neptune-client
# mlflow
nbstripout # remove output from jupyter notebooks
# comet-ml
# tensorboard
# --------- linters --------- #
pre-commit # hooks for applying linters on commit
pudb # debugger
pytest # tests
# --------- others --------- #
python-dotenv # loading env variables from .env file
rich # beautiful text formatting in terminal
sh # for running bash commands in some tests
# dvc # data version control
mpi4py
# --------- pytorch --------- #
torch
torchmetrics
torchvision
timm # image transformation package
pytorch_warmup
thop
torchmetrics
wandb
[options.packages.find]
where = src
exclude =
tests
[options.extras_require]
# Add here additional requirements for extra features, to install with:
# `pip install ML-Pipeline-Template[PDF]` like:
# PDF = ReportLab; RXP
# Add here test requirements (semicolon/line-separated)
testing =
setuptools
pytest
pytest-cov
[options.entry_points]
# Add here console scripts like:
# console_scripts =
# script_name = madonna.utils.dvc_utils:function
# For example:
console_scripts =
save_initial_data = madonna.utils.dvc_utils:save_initial_data
save_data_version = madonna.utils.dvc_utils:save_data_version
switch_to_data_version = madonna.utils.dvc_utils:switch_to_data_version
# And any other entry points, for example:
# pyscaffold.cli =
# awesome = pyscaffoldext.awesome.extension:AwesomeExtension
[tool:pytest]
testpaths = tests/
log_cli = True
markers =
slow
addopts =
--durations=0
--strict-markers
--doctest-modules
filterwarnings =
ignore::DeprecationWarning
ignore::UserWarning
[devpi:upload]
# Options for the devpi: PyPI server and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
no_vcs = 1
formats = bdist_wheel
[flake8]
max_line_length = 99
show_source = True
format = pylint
ignore =
F401 # Module imported but unused
W504 # Line break occurred after a binary operator
F841 # Local variable name is assigned to but never used
E501 # Line too long
exclude =
.git
__pycache__
data/*
tests/*
notebooks/*
logs/*
.tox
build
dist
.eggs
docs/conf.py
[isort]
line_length = 99
profile = black
filter_files = True
[pyscaffold]
# PyScaffold's parameters when the project was created.
# This will be used when updating. Do not change!
version = 4.1.1
package = madonna
extensions =
dsproject
no_skeleton
pre_commit