mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add setup.py
This commit is contained in:
parent
b64d0346b0
commit
cf2f5215c8
7 changed files with 79 additions and 2 deletions
0
gtkblueprinttool/__init__.py
Normal file
0
gtkblueprinttool/__init__.py
Normal file
|
@ -25,6 +25,9 @@ from .pipeline import Pipeline
|
|||
from . import parser, tokenizer
|
||||
|
||||
|
||||
VERSION = "0.1.0"
|
||||
|
||||
|
||||
class BlueprintApp:
|
||||
def main(self):
|
||||
self.parser = argparse.ArgumentParser()
|
||||
|
@ -66,3 +69,7 @@ class BlueprintApp:
|
|||
except PrintableError as e:
|
||||
e.pretty_print(opts.input.name, data)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def main():
|
||||
BlueprintApp().main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue