include package data

This commit is contained in:
Izalia Mae 2022-04-21 14:02:32 -04:00
parent 5a2804f997
commit f5203fc2b4
3 changed files with 5 additions and 1 deletions

1
MANIFEST.in Normal file
View file

@ -0,0 +1 @@
recursive-include bl2tools/frontend *

View file

@ -10,7 +10,7 @@ from .watcher import SaveWatcher
@click.option('--host', '-h', default='0.0.0.0', help='Address the web server should listen on')
@click.option('--port', '-p', default=8080, help='Port the web server should listen on')
@click.option('--save', '-s', type=Path, help='Path to Borderlands 2 game saves')
@click.option('--access-log', '-a', is_flag=True, default=True, help='Enable the server\'s access logging')
@click.option('--no-access-log', '-a', is_flag=True, default=True, help='Enable the server\'s access logging')
@click.pass_context
def cli(ctx, host, port, save, access_log):
ctx.obj = Server(host, port, save, access_log)

View file

@ -44,6 +44,9 @@ setup_requires =
console_scripts =
bl2tools = bl2tools.cli:main
[options.package_data]
bl2tools = bl2tools/*
[bdist_wheel]
universal = false