Skip to content

Commit

Permalink
Moved the metadata from setup.cfg into PEP 621-compliant `pyproje…
Browse files Browse the repository at this point in the history
…ct.toml`.
  • Loading branch information
KOLANICH committed Oct 20, 2022
1 parent 45820d4 commit feccb33
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 56 deletions.
60 changes: 59 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
[build-system]
requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4.3"]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[project]
name = "securesystemslib"
authors = [{name = "https://www.updateframework.com", email = "theupdateframework@googlegroups.com"}]
license = {text = "MIT"}
description = "A library that provides cryptographic and general-purpose routines for Secure Systems Lab projects at NYU"
readme = "README.rst"
keywords = [
"cryptography",
"keys",
"signatures",
"rsa",
"ed25519",
"ecdsa",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
"Topic :: Software Development",
]
requires-python = "~=3.7"
dependencies = [
"six>=1.11.0",
'subprocess32; python_version < "3"',
"python-dateutil>=2.8.0",
]
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/secure-systems-lab/securesystemslib"
Source = "https://github.com/secure-systems-lab/securesystemslib"
Issues = "https://github.com/secure-systems-lab/securesystemslib/issues"

[project.optional-dependencies]
colors = ["colorama>=0.3.9"]
crypto = ["cryptography>=37.0.0"]
pynacl = ["pynacl>1.2.0"]
testing = ['mock; python_version < "3.3"']

[tool.setuptools]
include-package-data = false

[tool.setuptools.packages.find]
exclude = ["tests"] # debian
namespaces = false

[tool.setuptools_scm]
55 changes: 0 additions & 55 deletions setup.cfg

This file was deleted.

0 comments on commit feccb33

Please sign in to comment.