|
|
|
|
|
|
|
|
|
|
|
[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 >= 1.10",
|
|
|
|
"pyramid_jinja2 >= 2.7",
|
|
|
|
"pyramid_mailer >= 0.15.1",
|
|
|
|
"waitress >= 1.4.3",
|
|
|
|
"passlib[argon2] >= 1.7.2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[project.entrypoints."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",
|
|
|
|
]
|