|
|
|
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["flit"]
|
|
|
|
build-backend = "flit.buildapi"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "superx_budget"
|
|
|
|
readme = "README.md"
|
|
|
|
description = "Creating a budget overview from a SuperX export."
|
|
|
|
license = { file = "LICENSE" }
|
|
|
|
requires-python = ">=3.7"
|
|
|
|
dynamic = ["version"]
|
|
|
|
|
|
|
|
authors = [
|
|
|
|
{name = "Holger Frey", email = "frey@imtek.de"},
|
|
|
|
]
|
|
|
|
|
|
|
|
# see https://pypi.org/classifiers/
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 2 - Pre-Alpha",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
|
|
"License :: Freely Distributable",
|
|
|
|
]
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
"openpyxl >= 3.0.0",
|
|
|
|
"pyramid >= 2.0",
|
|
|
|
"pyramid_jinja2",
|
|
|
|
"pyramid_mailer",
|
|
|
|
"waitress",
|
|
|
|
"passlib[argon2]",
|
|
|
|
]
|
|
|
|
|
|
|
|
[project.entry-points."paste.app_factory"]
|
|
|
|
main = "superx_budget:main"
|
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
Source = "https://git.cpi.imtek.uni-freiburg.de/CPI/superx-budget-overview.git"
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
test = [
|
|
|
|
"pytest >=4.0.0",
|
|
|
|
"pytest-cov",
|
|
|
|
"pytest-mock",
|
|
|
|
"pytest-randomly",
|
|
|
|
"tox",
|
|
|
|
]
|
|
|
|
dev = [
|
|
|
|
"black",
|
|
|
|
"flake8",
|
|
|
|
"flake8-comprehensions",
|
|
|
|
"flake8-bandit",
|
|
|
|
"isort >= 5.0.0",
|
|
|
|
"keyring",
|
|
|
|
"pre-commit",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 79
|
|
|
|
target-version = ['py37','py38', 'py39']
|
|
|
|
include = '\.pyi?$'
|
|
|
|
extend-exclude = '''
|
|
|
|
# A regex preceded with ^/ will apply only to files and directories
|
|
|
|
# in the root of the project.
|
|
|
|
^/.git
|
|
|
|
^/.tox
|
|
|
|
^/.venv
|
|
|
|
^/.build
|
|
|
|
^/.dist
|
|
|
|
'''
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
line_length=79
|
|
|
|
multi_line_output=3
|
|
|
|
length_sort="True"
|
|
|
|
include_trailing_comma="True"
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
markers = [
|
|
|
|
"fun: marks tests as functional (deselect with '-m \"not fun\"')",
|
|
|
|
]
|
|
|
|
addopts = [
|
|
|
|
"--strict-markers",
|
|
|
|
]
|