forked from MyPyDavid/raman-fitting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
165 lines (141 loc) · 3.09 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
[bumpversion]
current_version = 0.6.15
commit = True
tag = True
message = '{current_version} → {new_version}'
[metadata]
license_file = LICENSE
name = raman_fitting
author = David Wallace
author_email = wdz.wallace@protonmail.com
description = Python framework for the batch processing and deconvolution of raman spectra.
long_description = file:README.md
long_description_content_type = text/markdown
url = https://github.com/MyPyDavid/raman-fitting.git
project_urls =
Source Code = https://github.com/MyPyDavid/raman-fitting.git
classifiers =
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Physics
Topic :: Scientific/Engineering :: Chemistry
[options]
python_requires = >=3.7.0
install_requires =
pandas >= 1.0.0
scipy >= 1.5.2
lmfit >= 1.0.0
matplotlib >= 3.1.2
numpy >= 1.19.2
openpyxl >= 3.0.1
include_package_data = True
package_dir =
= src
packages = find:
setup_requires = setuptools_scm
[options.package_data]
* = *.txt
[options.packages.find]
where = src
exclude =
build*
dist*
docs*
tests*
*.tests
tools*
[options.entry_points]
console_scripts =
raman_fitting = raman_fitting.interfaces:main
[options.extras_require]
testing =
pytest
pytest-cov
pytest-flake8
mock
wheel
pip>=19.1 # For proper file:// URLs support.
dev =
isort
pylint
flake8
autopep8
pydocstyle
bump2version
[tox:tox]
[aliases]
test = pytest
[check-manifest]
ignore =
.github
.github/*
[bumpversion:file:pyproject.toml]
search = fallback_version = '{current_version}'
replace = fallback_version = '{new_version}'
[bumpversion:file:README.md]
search = v{current_version}
replace = v{new_version}
[bumpversion:file:src/raman_fitting/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[coverage]
show_missing = true
precision = 2
omit = *migrations*
[coverage:paths]
source =
src
*/site-packages
[coverage:run]
branch = False
source =
src
omit =
*/tests/*
*/src/raman_fitting/*/_dev_*.py
*/src/raman_fitting/*/_todo_*.py
parallel = true
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
[pylint]
extension-pkg-whitelist = numpy, pandas, matplotlib, lmfit
[flake8]
ignore =
E402,
W503,
W504,
E126
max-line-length = 140
exclude = .tox,.eggs,ci/templates,build,dist
[pydocstyle]
convention = numpy
match-dir = 'src\/.*'
[yapf]
based_on_style = pep8
dedent_closing_brackets = true
coalesce_brackets = true
split_complex_comprehension = true
split_before_dot = true
[tool:isort]
force_single_line = False
profile = black
src_paths = ["src", "test"]
line_length = 140
known_first_party = raman_fitting
default_section = THIRDPARTY
forced_separate = test_raman_fitting
skip = .tox,.eggs,ci/templates,build,dist