|
| 1 | +# https://packaging.python.org/en/latest/tutorials/packaging-projects/ |
| 2 | +# https://hatch.pypa.io/latest/config/build/ |
| 3 | + |
| 4 | +[project] |
| 5 | +name = "tutor-contrib-ltistore" |
| 6 | +description = "A plugin to install and enable the openedx-ltistore for reausable lti configurations." |
| 7 | +authors = [ |
| 8 | + { name = "Feanil Patel"}, |
| 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>=19.0.0,<21.0.0", |
| 31 | +] |
| 32 | +optional-dependencies = { dev = ["tutor[dev]>=19.0.0,<21.0.0"] } |
| 33 | + |
| 34 | +# These fields will be set by hatch_build.py |
| 35 | +dynamic = ["version"] |
| 36 | + |
| 37 | +[tool.hatch.version] |
| 38 | +path = "tutor_ltistore/__about__.py" |
| 39 | + |
| 40 | +# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels |
| 41 | +[project.urls] |
| 42 | +Documentation = "https://github.com/openedx/openedx-tutor-plugins#readme" |
| 43 | +Issues = "https://github.com/openedx/openedx-tutor-plugins/issues" |
| 44 | +Source = "https://github.com/openedx/openedx-tutor-plugins" |
| 45 | + |
| 46 | +[build-system] |
| 47 | +requires = ["hatchling"] |
| 48 | +build-backend = "hatchling.build" |
| 49 | + |
| 50 | +[tool.hatch.build.targets.wheel] |
| 51 | +packages = ["tutor_ltistore"] |
| 52 | + |
| 53 | +[tool.hatch.build.targets.sdist] |
| 54 | +# Disable strict naming, otherwise twine is not able to detect name/version |
| 55 | +strict-naming = false |
| 56 | +include = [ "/tutor_ltistore"] |
| 57 | +exclude = ["tests*"] |
| 58 | + |
| 59 | +[project.entry-points."tutor.plugin.v1"] |
| 60 | +ltistore = "tutor_ltistore.plugin" |
0 commit comments