Random changes slightly related to a maubot plugin packager cli program
This commit is contained in:
parent
038fbc43f1
commit
44aba396b7
@ -5,6 +5,9 @@
|
|||||||
ID = xyz.maubot.plugin
|
ID = xyz.maubot.plugin
|
||||||
# A PEP 440 compliant version string.
|
# A PEP 440 compliant version string.
|
||||||
Version = 1.0.0
|
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.
|
# 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.
|
# 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.
|
# 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.
|
# Even if `module` is not omitted here, it must be included in the modules list.
|
||||||
# The main class must extend maubot.Plugin
|
# The main class must extend maubot.Plugin
|
||||||
MainClass = PluginClass
|
MainClass = PluginClass
|
||||||
|
# The comma-separated list of additional files to include in the plugin archive.
|
||||||
|
ExtraFiles = LICENSE
|
||||||
|
0
maubot/cli/__main__.py
Normal file
0
maubot/cli/__main__.py
Normal file
1
setup.py
1
setup.py
@ -43,6 +43,7 @@ setuptools.setup(
|
|||||||
entry_points="""
|
entry_points="""
|
||||||
[console_scripts]
|
[console_scripts]
|
||||||
maubot=maubot.__main__:main
|
maubot=maubot.__main__:main
|
||||||
|
mbp=maubot.cli.__main__:main
|
||||||
""",
|
""",
|
||||||
data_files=[
|
data_files=[
|
||||||
(".", ["example-config.yaml"]),
|
(".", ["example-config.yaml"]),
|
||||||
|
Loading…
Reference in New Issue
Block a user