-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (68 loc) · 2.06 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[build-system]
requires = ["setuptools", "wheel"]
[project]
name = "ov-representa"
dynamic=["version"]
description = "Virtual office for electricity market representation"
authors = [
{ name="Som Energia", email="[email protected]" },
]
readme = "README.md"
requires-python = ">=3.10"
license = { file="LICENSE"}
keywords = ["virtual office", "invoices", "contracts"]
classifiers = [
'Topic :: Office/Business',
'Intended Audience :: Customer Service',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Framework :: FastAPI',
'Environment :: Web Environment',
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'Natural Language :: Basque',
'Natural Language :: Catalan',
'Natural Language :: Galician',
'Natural Language :: Spanish',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
]
dependencies = [
'somutils',
'python-stdnum',
'fastapi',
'fastapi-oauth2',
'uvicorn[standard]',
'consolemsg',
'pytest',
'pytest-cov',
'pytest-xdist', # test on watch
'httpx',
'yamlns',
'pydantic[email]',
'passlib', # local auth
'python-multipart', # local auth
'authlib', # remote auth
'itsdangerous', # remote auth (via SessionMiddleware)
'typer[all]', # CLI tool
'pygments', # CLI tool
'xhtml2pdf',
'sentry-sdk[fastapi]',
]
[tool.setuptools.dynamic]
version = {attr = "backend.__version__"}
[project.scripts]
representa-api = "scripts.representa_api:app"
representa-manage = "scripts.representa_manage:app"
[project.urls]
Homepage = "https://somenergia.coop"
Documentation = "https://github.com/som-energia/oficinavirtual-representa"
Repository = "https://github.com/som-energia/oficinavirtual-representa"
Changelog = "https://github.com/som-energia/oficinavirtual-representa/blob/master/CHANGELOG.md"
[tool.setuptools.packages]
find = {}
[tool.coverage.run]
relative_files = true
branch = true
omit = ["**/*test.py"]
[tool.pytest.ini_options]
addopts = "--doctest-modules --cov=backend"