aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-09-01 12:25:54 +0200
committerMichał Górny <mgorny@gentoo.org>2023-09-01 12:25:54 +0200
commit38058508c059f6cce947b8d07fe31e5538562f4c (patch)
tree3e4009afc25be3380d71b73221e9cc640c1db6d1
parentMove __version__ to __init__.py (diff)
downloadtyrian-sphinx-theme-38058508c059f6cce947b8d07fe31e5538562f4c.tar.gz
tyrian-sphinx-theme-38058508c059f6cce947b8d07fe31e5538562f4c.tar.bz2
tyrian-sphinx-theme-38058508c059f6cce947b8d07fe31e5538562f4c.zip
Use flit_core as build backend
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--pyproject.toml18
1 files changed, 2 insertions, 16 deletions
diff --git a/pyproject.toml b/pyproject.toml
index e23bf89..e6ca72f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
-requires = ["setuptools"]
-build-backend = "setuptools.build_meta"
+requires = ["flit_core >=3.2,<4"]
+build-backend = "flit_core.buildapi"
[project]
name = "tyrian-sphinx-theme"
@@ -25,17 +25,3 @@ Homepage = "https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git"
[project.entry-points."sphinx.html_themes"]
tyrian_sphinx_theme = "tyrian_sphinx_theme"
-
-[tool.setuptools]
-packages = ["tyrian_sphinx_theme"]
-
-[tool.setuptools.package-data]
-tyrian_sphinx_theme = [
- "theme.conf",
- "*.html",
- "static/*.css",
- "static/*.css_t",
-]
-
-[tool.setuptools.dynamic]
-version = {attr = "tyrian_sphinx_theme.__version__"}