Add setup.py

This commit is contained in:
James Westman 2021-10-17 23:45:24 -05:00
parent b64d0346b0
commit cf2f5215c8
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
7 changed files with 79 additions and 2 deletions

View file

View 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()