Skip to content

Commit 5106119

Browse files
committed
Moved the metadata from setup.cfg into PEP 621-compliant pyproject.toml.
1 parent d4ffaa5 commit 5106119

File tree

2 files changed

+59
-56
lines changed

2 files changed

+59
-56
lines changed

pyproject.toml

+59-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
11
[build-system]
2-
requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4.3"]
2+
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "securesystemslib"
7+
authors = [{name = "https://www.updateframework.com", email = "theupdateframework@googlegroups.com"}]
8+
license = {text = "MIT"}
9+
description = "A library that provides cryptographic and general-purpose routines for Secure Systems Lab projects at NYU"
10+
readme = "README.rst"
11+
keywords = [
12+
"cryptography",
13+
"keys",
14+
"signatures",
15+
"rsa",
16+
"ed25519",
17+
"ecdsa",
18+
]
19+
classifiers = [
20+
"Development Status :: 4 - Beta",
21+
"Intended Audience :: Developers",
22+
"License :: OSI Approved :: MIT License",
23+
"Natural Language :: English",
24+
"Operating System :: POSIX",
25+
"Operating System :: POSIX :: Linux",
26+
"Operating System :: MacOS :: MacOS X",
27+
"Operating System :: Microsoft :: Windows",
28+
"Programming Language :: Python :: 3",
29+
"Programming Language :: Python :: 3.7",
30+
"Programming Language :: Python :: 3.8",
31+
"Programming Language :: Python :: 3.9",
32+
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: Implementation :: CPython",
34+
"Topic :: Security",
35+
"Topic :: Software Development",
36+
]
37+
requires-python = "~=3.7"
38+
dependencies = [
39+
"six>=1.11.0",
40+
'subprocess32; python_version < "3"',
41+
"python-dateutil>=2.8.0",
42+
]
43+
dynamic = ["version"]
44+
45+
[project.urls]
46+
Homepage = "https://github.com/secure-systems-lab/securesystemslib"
47+
Source = "https://github.com/secure-systems-lab/securesystemslib"
48+
Issues = "https://github.com/secure-systems-lab/securesystemslib/issues"
49+
50+
[project.optional-dependencies]
51+
crypto = ["cryptography>=37.0.0"]
52+
pynacl = ["pynacl>1.2.0"]
53+
testing = ['mock; python_version < "3.3"']
54+
PySPX = ["PySPX==0.5.0"]
55+
56+
[tool.setuptools]
57+
include-package-data = false
58+
59+
[tool.setuptools.packages.find]
60+
exclude = ["tests"] # debian
61+
namespaces = false
62+
563
[tool.setuptools_scm]

setup.cfg

-55
This file was deleted.

0 commit comments

Comments
 (0)