|
| 1 | +# https://packaging.python.org/en/latest/tutorials/packaging-projects/ |
| 2 | +# https://hatch.pypa.io/latest/config/build/ |
| 3 | + |
| 4 | +[project] |
| 5 | +name = "tutor-livedeps" |
| 6 | +description = "livedeps plugin for Tutor" |
| 7 | +authors = [ |
| 8 | + { name = "Muhammad Labeeb"}, |
| 9 | + |
| 10 | +] |
| 11 | +license = { text = "AGPL-3.0-only" } |
| 12 | + |
| 13 | +readme = {file = "README.rst", content-type = "text/x-rst"} |
| 14 | +requires-python = ">= 3.9" |
| 15 | +classifiers = [ |
| 16 | + "Development Status :: 3 - Alpha", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "License :: OSI Approved :: GNU Affero General Public License v3", |
| 19 | + "Operating System :: OS Independent", |
| 20 | + "Programming Language :: Python", |
| 21 | + "Programming Language :: Python :: 3.9", |
| 22 | + "Programming Language :: Python :: 3.10", |
| 23 | + "Programming Language :: Python :: 3.11", |
| 24 | + "Programming Language :: Python :: 3.12", |
| 25 | + "Programming Language :: Python :: Implementation :: CPython", |
| 26 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 27 | + |
| 28 | +] |
| 29 | +dependencies = [ |
| 30 | + "tutor>=20.0.0,<21.0.0", |
| 31 | + "tutor-minio>=20.0.0,<21.0.0", |
| 32 | +] |
| 33 | +optional-dependencies = { dev = ["tutor[dev]>=20.0.0,<21.0.0"] } |
| 34 | + |
| 35 | +# These fields will be set by hatch_build.py |
| 36 | +dynamic = ["version"] |
| 37 | + |
| 38 | +[tool.hatch.version] |
| 39 | +path = "tutorlivedeps/__about__.py" |
| 40 | + |
| 41 | +# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels |
| 42 | +[project.urls] |
| 43 | +Documentation = "https://github.com/overhangio/tutor-livedeps#readme" |
| 44 | +Issues = "https://github.com/overhangio/tutor-livedeps/issues" |
| 45 | +Source = "https://github.com/overhangio/tutor-livedeps" |
| 46 | + |
| 47 | +[build-system] |
| 48 | +requires = ["hatchling"] |
| 49 | +build-backend = "hatchling.build" |
| 50 | + |
| 51 | +[tool.hatch.build.targets.wheel] |
| 52 | +packages = ["tutorlivedeps"] |
| 53 | + |
| 54 | +[tool.hatch.build.targets.sdist] |
| 55 | +# Disable strict naming, otherwise twine is not able to detect name/version |
| 56 | +strict-naming = false |
| 57 | +include = [ "/tutorlivedeps"] |
| 58 | +exclude = ["tests*"] |
| 59 | + |
| 60 | +[project.entry-points."tutor.plugin.v1"] |
| 61 | +livedeps = "tutorlivedeps.plugin" |
0 commit comments