Skip to content

Commit 98db711

Browse files
committed
Update package metadata
Signed-off-by: Ofek Lev <[email protected]>
1 parent 9c8622d commit 98db711

File tree

4 files changed

+77
-68
lines changed

4 files changed

+77
-68
lines changed

.readthedocs.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ version: 2
77

88
# Build documentation with Sphinx
99
sphinx:
10-
builder: html
11-
configuration: docs/conf.py
12-
fail_on_warning: true
10+
builder: html
11+
configuration: docs/conf.py
12+
fail_on_warning: true
1313

1414
# Optionally build your docs in additional formats such as PDF
1515
formats: []
1616

1717
# Optionally set the version of Python and requirements required to build your docs
1818
python:
19-
install:
20-
- requirements: requirements-docs.txt
19+
install:
20+
- requirements: requirements-docs.txt
21+
- method: pip
22+
path: .

MANIFEST.in

-11
This file was deleted.

pyproject.toml

+70-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,75 @@
11
# Build-system section
22
[build-system]
3-
requires = ["setuptools>=46.4.0", "wheel"]
4-
build-backend = "setuptools.build_meta"
3+
requires = ["hatchling>=0.21.0"]
4+
build-backend = "hatchling.build"
5+
6+
[project]
7+
name = "tuf"
8+
description = "A secure updater framework for Python"
9+
readme = "README.md"
10+
license = "MIT OR Apache-2.0"
11+
requires-python = ">=3.7"
12+
authors = [
13+
{ email = "[email protected]" },
14+
]
15+
keywords = [
16+
"authentication",
17+
"compromise",
18+
"key",
19+
"revocation",
20+
"secure",
21+
"update",
22+
"updater",
23+
]
24+
classifiers = [
25+
"Development Status :: 4 - Beta",
26+
"Intended Audience :: Developers",
27+
"License :: OSI Approved :: Apache Software License",
28+
"License :: OSI Approved :: MIT License",
29+
"Natural Language :: English",
30+
"Operating System :: MacOS :: MacOS X",
31+
"Operating System :: Microsoft :: Windows",
32+
"Operating System :: POSIX",
33+
"Operating System :: POSIX :: Linux",
34+
"Programming Language :: Python",
35+
"Programming Language :: Python :: 3",
36+
"Programming Language :: Python :: 3.7",
37+
"Programming Language :: Python :: 3.8",
38+
"Programming Language :: Python :: 3.9",
39+
"Programming Language :: Python :: 3.10",
40+
"Programming Language :: Python :: Implementation :: CPython",
41+
"Topic :: Security",
42+
"Topic :: Software Development",
43+
]
44+
dependencies = [
45+
"requests>=2.19.1",
46+
"securesystemslib>=0.22.0",
47+
]
48+
dynamic = ["version"]
49+
50+
[project.urls]
51+
Documentation = "https://theupdateframework.readthedocs.io/en/stable/"
52+
Homepage = "https://www.updateframework.com"
53+
Issues = "https://github.com/theupdateframework/python-tuf/issues"
54+
Source = "https://github.com/theupdateframework/python-tuf"
55+
56+
[tool.hatch.version]
57+
path = "tuf/__init__.py"
58+
59+
[tool.hatch.build.targets.sdist]
60+
include = [
61+
"/docs",
62+
"/tests",
63+
"/tuf",
64+
"/requirements*.txt",
65+
"/tox.ini",
66+
"/setup.py",
67+
]
68+
69+
[tool.hatch.build.targets.wheel]
70+
# The testing phase changes the current working directory to `tests` but the test scripts import
71+
# from `tests` so the root directory must be added to Python's path for editable installations
72+
dev-mode-dirs = ["."]
573

674
# Black section
775
# Read more here: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file

setup.cfg

-50
This file was deleted.

0 commit comments

Comments
 (0)