@@ 0,0 1,60 @@
+[build-system]
+requires = ["setuptools", "setuptools_scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "hgsrht"
+dynamic = ["version"]
+description = "hg.sr.ht website"
+readme = "README.md"
+authors = [{name = "Ludovic Chabant", email = "ludovic@chabant.com"}]
+dependencies = [
+ "srht",
+ "scmsrht",
+ "python-hglib",
+ "unidiff",
+]
+license.text = "AGPL-3.0-only"
+
+[project.urls]
+repository = "https://hg.sr.ht/~sircmpwn/hg.sr.ht"
+
+[tool.setuptools]
+# This defaults to true, but we explicitly specify what we want included in the
+# package via packages and tool.setuptools.package-data below.
+include-package-data = false
+packages = [
+ "hgsrht",
+ "hgsrht.alembic",
+ "hgsrht.alembic.versions",
+ "hgsrht.blueprints",
+ "hgsrht.blueprints.api",
+ "hgsrht.hgext",
+ "hgsrht.hgrcs",
+ "hgsrht.static",
+ "hgsrht.static.icons",
+ "hgsrht.templates",
+ "hgsrht.templates.macros",
+ "hgsrht.templates.partials",
+ "hgsrht.types",
+]
+script-files = [
+ "hgsrht-clonebundles",
+ "hgsrht-hook-changegroup",
+ "hgsrht-initdb",
+ "hgsrht-install-ext",
+ "hgsrht-migrate",
+ "hgsrht-periodic",
+ "hgsrht-shell",
+ "hgsrht-upgraderepos"
+]
+[tool.setuptools.package-data]
+"hgsrht" = ['default_query.graphql', 'schema.graphqls']
+"hgsrht.hgrcs" = ['*']
+"hgsrht.templates" = ['*.html']
+"hgsrht.templates.macros" = ['*.html']
+"hgsrht.templates.partials" = ['*.html']
+"hgsrht.static" = ['*']
+"hgsrht.static.icons" = ['*']
+
+[tool.setuptools_scm]