Skip to content
Snippets Groups Projects
Commit c40f0768 authored by David Douard's avatar David Douard
Browse files

setup: register the worker task in the swh.workers entrypoint

parent e2ef7bc3
No related branches found
No related tags found
1 merge request!36setup: register the worker task in the swh.workers entrypoint
......@@ -58,6 +58,8 @@ setup(
swh-deposit=swh.deposit.cli:main
[swh.cli.subcommands]
deposit=swh.deposit.cli:deposit
[swh.workers]
deposit.worker=swh.deposit.loader:register
''',
classifiers=[
"Programming Language :: Python :: 3",
......
# Copyright (C) 2019 the Software Heritage developers
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
def register():
return {'task_modules': ['%s.tasks' % __name__]}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment