|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling", "hatch-vcs"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "sphinx-thebe" |
| 7 | +authors = [ |
| 8 | + { name = "Executable Books Team", email = "executablebooks@gmail.com" }, |
| 9 | +] |
| 10 | +maintainers = [ |
| 11 | + # TODO: Add an actual maintainer |
| 12 | + { name = "Executable Books Team", email = "executablebooks@gmail.com" }, |
| 13 | +] |
| 14 | +description = "Integrate interactive code blocks into your documentation with Thebe and Binder." |
| 15 | +readme = "README.md" |
| 16 | +license = "MIT" |
| 17 | +license-files = { paths = ["LICENSE"] } |
| 18 | +requires-python = ">=3.8" |
| 19 | +classifiers = [ |
| 20 | + "Development Status :: 4 - Beta", |
| 21 | + "Framework :: Sphinx :: Extension", |
| 22 | + "Intended Audience :: Developers", |
| 23 | + "Programming Language :: Python :: 3", |
| 24 | + "Programming Language :: Python :: 3 :: Only", |
| 25 | + "Programming Language :: Python :: 3.8", |
| 26 | + "Programming Language :: Python :: 3.9", |
| 27 | + "Programming Language :: Python :: 3.10", |
| 28 | + "Programming Language :: Python :: 3.11", |
| 29 | + "Programming Language :: Python :: Implementation :: CPython", |
| 30 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 31 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 32 | +] |
| 33 | +dynamic = ["version"] |
| 34 | +keywords = [ |
| 35 | + "development", |
| 36 | + "docutils", |
| 37 | + "sphinx", |
| 38 | +] |
| 39 | +dependencies = [ |
| 40 | + "sphinx>=4", |
| 41 | +] |
| 42 | + |
| 43 | +[project.urls] |
| 44 | +Homepage = "https://github.com/packit/packit" |
| 45 | + |
| 46 | +[project.optional-dependencies] |
| 47 | +sphinx = [ |
| 48 | + "myst-nb", |
| 49 | + "sphinx-book-theme", |
| 50 | + "sphinx-copybutton", |
| 51 | + "sphinx-design", |
| 52 | +] |
| 53 | +testing = [ |
| 54 | + "myst-nb>=1.0.0rc0", |
| 55 | + "sphinx-copybutton", |
| 56 | + "sphinx-design", |
| 57 | + "matplotlib", |
| 58 | + "pytest", |
| 59 | + "pytest-regressions", |
| 60 | + "beautifulsoup4", |
| 61 | +] |
| 62 | +# TODO: Add pre-commits |
| 63 | +dev = [ |
| 64 | + "sphinx-thebe[testing]", |
| 65 | +] |
| 66 | + |
| 67 | +[tool.hatch] |
| 68 | +version.source = "vcs" |
| 69 | +build.hooks.vcs.version-file = "src/sphinx_thebe/_version.py" |
| 70 | + |
| 71 | +[tool.pytest.ini_options] |
| 72 | +testpaths = [ |
| 73 | + "tests", |
| 74 | +] |
0 commit comments