Python packaging
This commit is contained in:
parent
7487eb94bd
commit
85df574d3c
22 changed files with 48 additions and 10 deletions
19
VNRecode/__main__.py
Normal file
19
VNRecode/__main__.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env python3
|
||||
from .application import Application
|
||||
from .compress import Compress
|
||||
from .printer import Printer
|
||||
from .config import Config
|
||||
from .utils import Utils
|
||||
|
||||
|
||||
def init():
|
||||
config = Config.setup_config()
|
||||
printer = Printer(config.args.source)
|
||||
utils = Utils(config.config, printer)
|
||||
compress = Compress(config.config, printer, utils)
|
||||
|
||||
Application(config, compress, printer, utils).run()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
init()
|
Loading…
Add table
Add a link
Reference in a new issue