-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZO-942: Configure 'setuptools' and 'pytest' via
pyproject.toml
Note that the `setup.cfg` remains in place for now in order to keep the i18n settings. See https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
- Loading branch information
Showing
3 changed files
with
41 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "briefkasten" | ||
version = "0.3.13dev" | ||
maintainers = [{name = 'Tom Lazar', email = '[email protected]'}] | ||
description = "a reasonably secure web application for submitting content anonymously" | ||
dependencies = [ | ||
"Pyramid <2.1", | ||
"pyramid_chameleon", | ||
"click", | ||
"colander", | ||
"diazo", | ||
"humanfriendly", | ||
"itsdangerous", | ||
"jinja2", | ||
"python-gnupg", | ||
"repoze.xmliter", | ||
"Paste", | ||
"watchdog", | ||
"PyYAML", | ||
] | ||
|
||
[project.entry-points."paste.app_factory"] | ||
main = "briefkasten:main" | ||
|
||
[project.scripts] | ||
debug = "briefkasten.commands:debug" | ||
worker = "briefkasten.commands:worker" | ||
janitor = "briefkasten.commands:janitor" | ||
|
||
[project.entry-points.pytest11] | ||
briefkasten = "briefkasten.testing" | ||
|
||
[tool.setuptools] | ||
packages = ["briefkasten"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--strict-config --strict-markers --cov=briefkasten --cov-report=term --cov-report=html --doctest-modules" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.