|
1 | 1 | # Build-system section
|
2 | 2 | [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 | + |
| 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 = ["."] |
5 | 73 |
|
6 | 74 | # Black section
|
7 | 75 | # Read more here: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file
|
|
0 commit comments