In commit 1fbbcabb7c23516cf08f9581c5ea4876aa89326d, setup.py was reduced
to a stub loader for the pyproject.toml static metadata.
Without getting into whether it makes sense to programmatically vs.
statically define e.g. package_data, the scripts= argument to setup()
was never included in pyproject.toml and was removed from setup.py; this
broke the resulting installed package.
Restore this information.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
---
pyproject.toml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 3005b8d..00b4718 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -51,6 +51,11 @@ packages = [
"srht.templates",
"srht.webhook",
]
+script-files = [
+ "srht-update-profiles",
+ "srht-migrate",
+ "srht-keygen",
+]
[tool.setuptools.package-data]
"srht" = ['Makefile', 'minify-css.js']
"srht.templates" = ['*.html']
--
2.44.1