diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-09-01 12:25:54 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-09-01 12:25:54 +0200 |
commit | 38058508c059f6cce947b8d07fe31e5538562f4c (patch) | |
tree | 3e4009afc25be3380d71b73221e9cc640c1db6d1 | |
parent | Move __version__ to __init__.py (diff) | |
download | tyrian-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.toml | 18 |
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__"} |