|
|
@ -1,36 +1,42 @@ |
|
|
|
[build-system] |
|
|
|
[build-system] |
|
|
|
requires = ["flit"] |
|
|
|
requires = ["flit_core>=3.2,<4"] |
|
|
|
build-backend = "flit.buildapi" |
|
|
|
build-backend = "flit_core.buildapi" |
|
|
|
|
|
|
|
|
|
|
|
[tool.flit.metadata] |
|
|
|
[project] |
|
|
|
module = "sensospot_parser" |
|
|
|
name = "sensospot_parser" |
|
|
|
dist-name = "sensospot_parser" |
|
|
|
readme = "README.md" |
|
|
|
author = "Holger Frey" |
|
|
|
license = { file = "LICENSE" } |
|
|
|
author-email = "frey@imtek.de" |
|
|
|
requires-python = ">=3.9" |
|
|
|
home-page = "https://git.cpi.imtek.uni-freiburg.de/holgi/sensospot_parser.git" |
|
|
|
dynamic = ["version", "description"] |
|
|
|
description-file = "README.md" |
|
|
|
|
|
|
|
license = "Beerware" |
|
|
|
authors = [ |
|
|
|
|
|
|
|
{name = "Holger Frey", email = "frey@imtek.de"}, |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
# see https://pypi.org/classifiers/ |
|
|
|
# see https://pypi.org/classifiers/ |
|
|
|
classifiers = [ |
|
|
|
classifiers = [ |
|
|
|
"Development Status :: 2 - Pre-Alpha", |
|
|
|
"Development Status :: 2 - Pre-Alpha", |
|
|
|
"Intended Audience :: Developers", |
|
|
|
"Intended Audience :: Developers", |
|
|
|
"Programming Language :: Python :: 3.7", |
|
|
|
|
|
|
|
"Programming Language :: Python :: 3.8", |
|
|
|
"Programming Language :: Python :: 3.8", |
|
|
|
|
|
|
|
"Programming Language :: Python :: 3.9", |
|
|
|
|
|
|
|
"Programming Language :: Python :: 3.10", |
|
|
|
"Programming Language :: Python :: 3 :: Only", |
|
|
|
"Programming Language :: Python :: 3 :: Only", |
|
|
|
"License :: Freely Distributable", |
|
|
|
"License :: Freely Distributable", |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
requires = [ |
|
|
|
dependencies = [ |
|
|
|
"pandas >=1.0.0", |
|
|
|
"pandas >=1.0.0", |
|
|
|
"defusedxml >=0.6.0", |
|
|
|
"defusedxml >=0.6.0", |
|
|
|
"tables >=3.6.1", |
|
|
|
"tables >=3.6.1", |
|
|
|
"click", |
|
|
|
"click", |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
[project.urls] |
|
|
|
|
|
|
|
Source = "https://git.cpi.imtek.uni-freiburg.de/holgi/sensospot_parser.git" |
|
|
|
|
|
|
|
|
|
|
|
requires-python = ">=3.7" |
|
|
|
[project.scripts] |
|
|
|
|
|
|
|
sensospot_parse = "sensospot_parser:main" |
|
|
|
|
|
|
|
|
|
|
|
[tool.flit.metadata.requires-extra] |
|
|
|
[project.optional-dependencies] |
|
|
|
test = [ |
|
|
|
test = [ |
|
|
|
"pytest >=4.0.0", |
|
|
|
"pytest >=4.0.0", |
|
|
|
"pytest-cov", |
|
|
|
"pytest-cov", |
|
|
@ -42,26 +48,24 @@ dev = [ |
|
|
|
"black", |
|
|
|
"black", |
|
|
|
"flake8", |
|
|
|
"flake8", |
|
|
|
"flake8-comprehensions", |
|
|
|
"flake8-comprehensions", |
|
|
|
"isort", |
|
|
|
"flake8-bandit", |
|
|
|
|
|
|
|
"isort >= 5.0.0", |
|
|
|
"keyring", |
|
|
|
"keyring", |
|
|
|
"pre-commit", |
|
|
|
"pre-commit", |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
[tool.flit.scripts] |
|
|
|
|
|
|
|
sensospot_parse = "sensospot_parser:main" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.black] |
|
|
|
[tool.black] |
|
|
|
line-length = 79 |
|
|
|
line-length = 79 |
|
|
|
target-version = ['py37'] |
|
|
|
target-version = ['py39', 'py310'] |
|
|
|
include = '\.pyi?$' |
|
|
|
include = '\.pyi?$' |
|
|
|
exclude = ''' |
|
|
|
extend-exclude = ''' |
|
|
|
/( |
|
|
|
# A regex preceded with ^/ will apply only to files and directories |
|
|
|
\.git |
|
|
|
# in the root of the project. |
|
|
|
| \.tox |
|
|
|
^/.git |
|
|
|
| \.venv |
|
|
|
^/.tox |
|
|
|
| build |
|
|
|
^/.venv |
|
|
|
| dist |
|
|
|
^/.build |
|
|
|
)/ |
|
|
|
^/.dist |
|
|
|
''' |
|
|
|
''' |
|
|
|
|
|
|
|
|
|
|
|
[tool.isort] |
|
|
|
[tool.isort] |
|
|
@ -69,3 +73,11 @@ line_length=79 |
|
|
|
multi_line_output=3 |
|
|
|
multi_line_output=3 |
|
|
|
length_sort="True" |
|
|
|
length_sort="True" |
|
|
|
include_trailing_comma="True" |
|
|
|
include_trailing_comma="True" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options] |
|
|
|
|
|
|
|
markers = [ |
|
|
|
|
|
|
|
"functional: marks tests as functional (deselect with '-m \"not functional\"')", |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
addopts = [ |
|
|
|
|
|
|
|
"--strict-markers", |
|
|
|
|
|
|
|
] |
|
|
|