| 1 |
[build-system] |
| 2 |
requires = ["hatchling>=0.21.1"] |
| 3 |
build-backend = "hatchling.build" |
| 4 |
|
| 5 |
[project] |
| 6 |
name = "in-toto" |
| 7 |
description = "A framework to define and secure the integrity of software supply chains" |
| 8 |
readme = "README.md" |
| 9 |
license = "Apache-2.0" |
| 10 |
requires-python = "~=3.7" |
| 11 |
authors = [ |
| 12 |
{ name = "New York University: Secure Systems Lab", email = "[email protected]" }, |
| 13 |
] |
| 14 |
keywords = [ |
| 15 |
"security", |
| 16 |
"software", |
| 17 |
"supply chain", |
| 18 |
] |
| 19 |
classifiers = [ |
| 20 |
"Development Status :: 5 - Production/Stable", |
| 21 |
"Intended Audience :: Developers", |
| 22 |
"License :: OSI Approved :: Apache Software License", |
| 23 |
"Natural Language :: English", |
| 24 |
"Operating System :: MacOS :: MacOS X", |
| 25 |
"Operating System :: POSIX", |
| 26 |
"Operating System :: POSIX :: Linux", |
| 27 |
"Programming Language :: Python", |
| 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 :: 3.11", |
| 34 |
"Programming Language :: Python :: Implementation :: CPython", |
| 35 |
"Topic :: Security", |
| 36 |
"Topic :: Software Development", |
| 37 |
] |
| 38 |
dependencies = [ |
| 39 |
"attrs", |
| 40 |
"iso8601", |
| 41 |
"pathspec", |
| 42 |
"python-dateutil", |
| 43 |
"securesystemslib[crypto]>=0.28.0", |
| 44 |
] |
| 45 |
dynamic = ["version"] |
| 46 |
|
| 47 |
[project.optional-dependencies] |
| 48 |
# Install pynacl as optional dependency to use with securesystemslib, as a |
| 49 |
# workaround for `"ssl-pynacl": ["securesystemslib[pynacl]>=0.11.3"]`, |
| 50 |
# which currently is not supported in "extra_require" (see pypa/pip#4957). |
| 51 |
# TODO: Keep track of changes (version, additional requirements) under the |
| 52 |
# "pynacl" key in securesystemslib's setup.py. |
| 53 |
# https://github.com/secure-systems-lab/securesystemslib/blob/master/setup.py#L101 |
| 54 |
pynacl = [ |
| 55 |
"pynacl>1.2.0", |
| 56 |
] |
| 57 |
|
| 58 |
[project.scripts] |
| 59 |
in-toto-keygen = "in_toto.in_toto_keygen:main" |
| 60 |
in-toto-mock = "in_toto.in_toto_mock:main" |
| 61 |
in-toto-record = "in_toto.in_toto_record:main" |
| 62 |
in-toto-run = "in_toto.in_toto_run:main" |
| 63 |
in-toto-sign = "in_toto.in_toto_sign:main" |
| 64 |
in-toto-verify = "in_toto.in_toto_verify:main" |
| 65 |
in-toto-match-products = "in_toto.in_toto_match_products:main" |
| 66 |
|
| 67 |
[project.urls] |
| 68 |
"Bug Reports" = "https://github.com/in-toto/in-toto/issues" |
| 69 |
Homepage = "https://in-toto.io" |
| 70 |
Source = "https://github.com/in-toto/in-toto" |
| 71 |
|
| 72 |
[tool.hatch.version] |
| 73 |
path = "in_toto/__init__.py" |
| 74 |
|
| 75 |
[tool.hatch.build.targets.sdist] |
| 76 |
include = [ |
| 77 |
"/in_toto", |
| 78 |
"/tests", |
| 79 |
"/.coveragerc", |
| 80 |
"/tox.ini", |
| 81 |
"/requirements*.txt", |
| 82 |
] |
| 83 |
|
| 84 |
[tool.black] |
| 85 |
line-length=80 |
| 86 |
|
| 87 |
[tool.isort] |
| 88 |
profile="black" |
| 89 |
line_length=80 |
| 90 |
known_first_party = ["in_toto"] |