Skip to content

Commit 9983e86

Browse files
committed
chore: use hatch to build package
1 parent b8666a5 commit 9983e86

File tree

3 files changed

+68
-84
lines changed

3 files changed

+68
-84
lines changed

MANIFEST.in

Lines changed: 0 additions & 23 deletions
This file was deleted.

pyproject.toml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "sphinx-tabs"
7+
dynamic = ["version"]
8+
description = "Tabbed views for Sphinx"
9+
readme = "README.md"
10+
license = "MIT"
11+
requires-python = ">=3.7"
12+
authors = [
13+
{ name = "djungelorm", email = "djungelorm@users.noreply.github.com" },
14+
]
15+
classifiers = [
16+
"Development Status :: 5 - Production/Stable",
17+
"Environment :: Plugins",
18+
"Environment :: Web Environment",
19+
"Framework :: Sphinx :: Extension",
20+
"Intended Audience :: Developers",
21+
"License :: OSI Approved :: MIT License",
22+
"Natural Language :: English",
23+
"Operating System :: OS Independent",
24+
"Programming Language :: Python",
25+
"Programming Language :: Python :: 3.7",
26+
"Programming Language :: Python :: 3.8",
27+
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: 3.10",
29+
"Topic :: Documentation",
30+
"Topic :: Documentation :: Sphinx",
31+
"Topic :: Software Development :: Documentation",
32+
"Topic :: Text Processing",
33+
"Topic :: Utilities",
34+
]
35+
dependencies = [
36+
"docutils",
37+
"pygments",
38+
"sphinx",
39+
]
40+
41+
[project.optional-dependencies]
42+
code_style = [
43+
"pre-commit==2.13.0",
44+
]
45+
testing = [
46+
"bs4",
47+
"coverage",
48+
"pygments",
49+
"pytest-cov",
50+
"pytest-regressions",
51+
"pytest>=7.1,<8",
52+
"rinohtype",
53+
]
54+
55+
[project.urls]
56+
Homepage = "https://github.com/executablebooks/sphinx-tabs"
57+
58+
[tool.hatch.version]
59+
path = "sphinx_tabs/__init__.py"
60+
61+
[tool.hatch.build.targets.sdist]
62+
include = [
63+
"/sphinx_tabs",
64+
"/__tests__",
65+
"/CHANGELOG.md",
66+
"/*.js",
67+
"/*.json"
68+
]

setup.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)