diff --git a/example-maubot.ini b/example-maubot.ini index f5ffb5a..000ea4a 100644 --- a/example-maubot.ini +++ b/example-maubot.ini @@ -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 diff --git a/maubot/cli/__main__.py b/maubot/cli/__main__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index a546b06..9107354 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ setuptools.setup( entry_points=""" [console_scripts] maubot=maubot.__main__:main + mbp=maubot.cli.__main__:main """, data_files=[ (".", ["example-config.yaml"]),