You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.6 KiB
86 lines
1.6 KiB
3 years ago
|
|
||
|
|
||
|
[build-system]
|
||
|
requires = ["flit"]
|
||
|
build-backend = "flit.buildapi"
|
||
|
|
||
|
[tool.flit.metadata]
|
||
|
module = "honeypot"
|
||
|
dist-name = "honeypot"
|
||
|
author = "Holger Frey"
|
||
|
author-email = "frey@imtek.de"
|
||
|
home-page = "https://git.cpi.imtek.uni-freiburg.de/CPI/honeypot.git"
|
||
|
description-file = "README.md"
|
||
|
license = "Beerware"
|
||
|
|
||
|
# see https://pypi.org/classifiers/
|
||
|
classifiers = [
|
||
|
"Development Status :: 2 - Pre-Alpha",
|
||
|
"Framework :: Pyramid",
|
||
|
"Topic :: Internet :: WWW/HTTP",
|
||
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
||
|
"Programming Language :: Python :: 3.7",
|
||
|
"Programming Language :: Python :: 3.8",
|
||
|
"Programming Language :: Python :: 3.9",
|
||
|
"Programming Language :: Python :: 3 :: Only",
|
||
|
"License :: Freely Distributable",
|
||
|
]
|
||
|
|
||
|
requires = [
|
||
|
"chardet",
|
||
|
"plaster_pastedeploy",
|
||
|
"pyramid",
|
||
|
"pyramid_mailer",
|
||
|
"waitress",
|
||
|
]
|
||
|
requires-python = ">=3.7"
|
||
|
|
||
|
[tool.flit.metadata.requires-extra]
|
||
|
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
|
||
|
py37 = true
|
||
|
include = "\.pyi?$"
|
||
|
exclude = """
|
||
|
/(
|
||
|
\.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",
|
||
|
]
|
||
|
|
||
|
[project.entry-points."paste.app_factory"]
|
||
|
main = "honeypot:main"
|