Random changes slightly related to a maubot plugin packager cli program

This commit is contained in:
Tulir Asokan 2018-10-29 17:47:49 +02:00
parent 038fbc43f1
commit 44aba396b7
3 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,9 @@
ID = xyz.maubot.plugin
# A PEP 440 compliant version string.
Version = 1.0.0
# The SPDX license identifier of the license of your project (see https://spdx.org/licenses/)
# Alternatively, you may enter the name of a license file. The file must be listed under ExtraFiles.
License = AGPL-3.0-or-later
# The comma-separated list of modules to load from the plugin archive.
# Submodules that are imported by modules listed here don't need to be listed separately.
# However, top-level modules must always be listed even if they're imported by other modules.
@ -14,3 +17,5 @@ Modules = plugin
# Even if `module` is not omitted here, it must be included in the modules list.
# The main class must extend maubot.Plugin
MainClass = PluginClass
# The comma-separated list of additional files to include in the plugin archive.
ExtraFiles = LICENSE

0
maubot/cli/__main__.py Normal file
View File

View File

@ -43,6 +43,7 @@ setuptools.setup(
entry_points="""
[console_scripts]
maubot=maubot.__main__:main
mbp=maubot.cli.__main__:main
""",
data_files=[
(".", ["example-config.yaml"]),