move module cli entrypoints to __main__.py files

This commit is contained in:
Jack Robison 2022-03-29 16:06:44 -04:00
parent 0fd993d180
commit 5731016ca5
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
8 changed files with 97 additions and 70 deletions

View file

@ -23,9 +23,9 @@ setup(
zip_safe=False,
entry_points={
'console_scripts': [
'scribe=scribe.cli:run_writer_forever',
'scribe-hub=scribe.cli:run_server_forever',
'scribe-elastic-sync=scribe.cli:run_es_sync_forever',
'scribe=scribe.blockchain.__main__:main',
'scribe-hub=scribe.hub.__main__:main',
'scribe-elastic-sync=scribe.elasticsearch.__main__:main',
],
},
install_requires=[