Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ repos:
exclude:
".xml"

- repo: https://github.com/mgedmin/check-manifest
rev: "0.48"
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
hooks:
- id: check-manifest
- id: validate-pyproject

- repo: https://github.com/psf/black
rev: 22.3.0
Expand Down
23 changes: 0 additions & 23 deletions MANIFEST.in

This file was deleted.

68 changes: 68 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "sphinx-tabs"
dynamic = ["version"]
description = "Tabbed views for Sphinx"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
authors = [
{ name = "djungelorm", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Environment :: Web Environment",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing",
"Topic :: Utilities",
]
dependencies = [
"docutils",
"pygments",
"sphinx",
]

[project.optional-dependencies]
code_style = [
"pre-commit==2.13.0",
]
testing = [
"bs4",
"coverage",
"pygments",
"pytest-cov",
"pytest-regressions",
"pytest>=7.1,<8",
"rinohtype",
]

[project.urls]
Homepage = "https://github.com/executablebooks/sphinx-tabs"

[tool.hatch.version]
path = "sphinx_tabs/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/sphinx_tabs",
"/__tests__",
"/CHANGELOG.md",
"/*.js",
"/*.json"
]
61 changes: 0 additions & 61 deletions setup.py

This file was deleted.