Refactor __main__.py and fix things
This commit is contained in:
parent
c685eb5e08
commit
7c9668d8bc
9 changed files with 84 additions and 117 deletions
13
setup.py
13
setup.py
|
@ -57,15 +57,18 @@ setuptools.setup(
|
|||
mbc=maubot.cli:app
|
||||
""",
|
||||
data_files=[
|
||||
(".", ["example-config.yaml", "alembic.ini"]),
|
||||
(".", ["maubot/example-config.yaml", "alembic.ini"]),
|
||||
("alembic", ["alembic/env.py"]),
|
||||
("alembic/versions", glob.glob("alembic/versions/*.py")),
|
||||
],
|
||||
package_data={
|
||||
"maubot": ["management/frontend/build/*",
|
||||
"management/frontend/build/static/css/*",
|
||||
"management/frontend/build/static/js/*",
|
||||
"management/frontend/build/static/media/*"],
|
||||
"maubot": [
|
||||
"example-config.yaml",
|
||||
"management/frontend/build/*",
|
||||
"management/frontend/build/static/css/*",
|
||||
"management/frontend/build/static/js/*",
|
||||
"management/frontend/build/static/media/*",
|
||||
],
|
||||
"maubot.cli": ["res/*"],
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue