File: pyproject.toml

package info (click to toggle)
torf 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 988 kB
  • sloc: python: 10,054; makefile: 15; sh: 8
file content (72 lines) | stat: -rw-r--r-- 1,821 bytes parent folder | download
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
[project]
name = "torf"
description = "Python 3 module for creating and parsing torrent files and magnet URIs"
readme = "README.rst"
license = {text = "GPL-3.0-or-later"}
authors = [
  { name="Random User", email="rndusr@posteo.de" },
]
keywords = ["bittorrent", "torrent", "magnet"]
dynamic = ["version"]  # Get version from PROJECT/__version__
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3.8",
    "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",
    "Topic :: Software Development :: Libraries",
]
requires-python = ">=3.8"
dependencies = [
    "fastbencode>=0.3",
]

[project.optional-dependencies]
dev = [
    "pytest",
    "pytest-xdist",
    "pytest-httpserver",
    "pytest-mock",

    "tox",

    "coverage",
    "pytest-cov",

    "ruff",
    "flake8",
    "isort",
    "mypy",
]

[project.urls]
Repository = "https://github.com/rndusr/torf"
Documentation = "https://torf.readthedocs.io/"
"Bug Tracker" = "https://github.com/rndusr/torf/issues"
Changelog = "https://raw.githubusercontent.com/rndusr/torf/master/CHANGELOG"


[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
include = ["torf*"]

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

[tool.mypy]
strict = true
pretty = true
exclude = [
    "torf/_reuse.py", # Not part of the public API
    "torf/_generate.py", # Not part of the public API
    "tests/",
    "docs/",
]