File: pyproject.toml

package info (click to toggle)
python-omemo 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 660 kB
  • sloc: python: 3,523; makefile: 16
file content (89 lines) | stat: -rw-r--r-- 2,195 bytes parent folder | download | duplicates (2)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = [ "setuptools" ]
build-backend = "setuptools.build_meta"

[project]
name = "OMEMO"
description = "A Python implementation of the OMEMO Multi-End Message and Object Encryption protocol."
readme = "README.md"
dynamic = [ "version" ]
authors = [
    { name = "Tim Henkes (Syndace)", email = "me@syndace.dev" }
]
maintainers = [ { name = "Tim Henkes (Syndace)", email = "me@syndace.dev" } ]
license = "MIT"
license-files = [ "LICENSE" ]
requires-python = ">= 3.9"
dependencies = [
    "XEdDSA>=1.0.0,<2",
    "typing-extensions>=4.3.0"
]
classifiers = [
    "Development Status :: 5 - Production/Stable",

    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3 :: Only",

    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",

    "Programming Language :: Python :: Implementation :: CPython",
    "Programming Language :: Python :: Implementation :: PyPy",

    "Intended Audience :: Developers",
    "Topic :: Communications :: Chat",
    "Topic :: Security :: Cryptography"
]

[tool.setuptools.dynamic]
version = { attr = "omemo.version.__version__" }

[tool.setuptools.packages.find]
exclude = [ "tests" ]

[project.optional-dependencies]
docs = [
    "sphinx",
    "sphinx-rtd-theme",
    "sphinx-autodoc-typehints"
]
test = [
    "pytest",
    "pytest-asyncio",
    "pytest-cov",
    "twisted",
    "twomemo[xml]",
    "oldmemo[xml]"
]
lint = [
    "mypy",
    "pylint",
    "flake8",
    "flake8-pyproject"
]
dev = [
    "omemo[docs,test,lint]"
]

[project.urls]
Documentation = "https://py-omemo.readthedocs.io/"
Repository = "https://github.com/Syndace/python-omemo"
Issues = "https://github.com/Syndace/python-omemo/issues"
Changelog = "https://github.com/Syndace/python-omemo/blob/main/CHANGELOG.md"

[tool.mypy]
strict = true

[tool.flake8]
max-line-length = 110
doctests = true
ignore = [ "E201", "E202", "W503" ]
per-file-ignores = [
    "omemo/__init__.py:F401"
]

[tool.pytest.ini_options]
addopts = "--cov=omemo --cov-report term-missing:skip-covered"