Move synctl into synapse._scripts and expose as an entrypoint (#12140)

This commit is contained in:
David Robertson 2022-03-04 11:58:49 +00:00 committed by GitHub
parent 423cca9efe
commit 4aeb00ca20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 33 additions and 13 deletions

View file

@ -155,6 +155,7 @@ setup(
# Application
"synapse_homeserver = synapse.app.homeserver:main",
"synapse_worker = synapse.app.generic_worker:main",
"synctl = synapse._scripts.synctl:main",
# Scripts
"export_signing_key = synapse._scripts.export_signing_key:main",
"generate_config = synapse._scripts.generate_config:main",
@ -177,6 +178,5 @@ setup(
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
scripts=["synctl"],
cmdclass={"test": TestCommand},
)