|
| 1 | +# https://packaging.python.org/en/latest/tutorials/packaging-projects/ |
| 2 | +# https://hatch.pypa.io/latest/config/build/ |
| 3 | + |
| 4 | +[project] |
| 5 | +name = "tutor-xqueue" |
| 6 | +description = "A Tutor plugin for Xqueue (external grading system)" |
| 7 | +authors = [ |
| 8 | + { name = "Edly" }, |
| 9 | + |
| 10 | +] |
| 11 | +maintainers = [ |
| 12 | + { name = "Jhony Avella" }, |
| 13 | + |
| 14 | +] |
| 15 | +license = {text = "AGPL-3.0-only"} |
| 16 | +readme = {file = "README.rst", content-type = "text/x-rst"} |
| 17 | +requires-python = ">=3.9" |
| 18 | +classifiers = [ |
| 19 | + "Development Status :: 5 - Production/Stable", |
| 20 | + "Intended Audience :: Developers", |
| 21 | + "License :: OSI Approved :: GNU Affero General Public License v3", |
| 22 | + "Operating System :: OS Independent", |
| 23 | + "Programming Language :: Python", |
| 24 | + "Programming Language :: Python :: 3.9", |
| 25 | + "Programming Language :: Python :: 3.10", |
| 26 | + "Programming Language :: Python :: 3.11", |
| 27 | + "Programming Language :: Python :: 3.12", |
| 28 | +] |
| 29 | +dependencies = [ |
| 30 | + "tutor>=19.0.0,<20.0.0", |
| 31 | +] |
| 32 | +optional-dependencies = { dev = ["tutor[dev]>=19.0.0,<20.0.0"] } |
| 33 | + |
| 34 | +# These fields will be set by hatch_build.py |
| 35 | +dynamic = ["version"] |
| 36 | + |
| 37 | +# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels |
| 38 | +[project.urls] |
| 39 | +Homepage = "https://docs.tutor.edly.io/" |
| 40 | +Documentation = "https://github.com/overhangio/tutor-xqueue#readme" |
| 41 | +Issues = "https://github.com/overhangio/tutor-xqueue/issues" |
| 42 | +Source = "https://github.com/overhangio/tutor-xqueue" |
| 43 | +Changelog = "https://github.com/overhangio/tutor-xqueue/blob/release/CHANGELOG.md" |
| 44 | +Community = "https://discuss.openedx.org/tag/tutor" |
| 45 | + |
1 | 46 | [build-system]
|
2 |
| -requires = ["setuptools", "wheel"] |
| 47 | +requires = ["hatchling"] |
| 48 | +build-backend = "hatchling.build" |
| 49 | + |
| 50 | +# hatch-specific configuration |
| 51 | +[tool.hatch.metadata.hooks.custom] |
| 52 | +path = ".hatch_build.py" |
| 53 | + |
| 54 | +[tool.hatch.build.targets.wheel] |
| 55 | +packages = ["tutorxqueue"] |
| 56 | + |
| 57 | +[tool.hatch.build.targets.sdist] |
| 58 | +# Disable strict naming, otherwise twine is not able to detect name/version |
| 59 | +strict-naming = false |
| 60 | +include = [ "/tutorxqueue"] |
| 61 | + |
| 62 | +[project.entry-points."tutor.plugin.v1"] |
| 63 | +xqueue = "tutorxqueue.plugin" |
0 commit comments