Remove FIXME documented as #8

This commit is contained in:
Reid 'arrdem' McKenzie 2021-09-25 01:06:41 -06:00
parent 9761b5c6d3
commit d794b63d71

View file

@ -1,5 +1,5 @@
""" """
The Zapp compiler. The Zapp! compiler.
""" """
import argparse import argparse
@ -29,13 +29,11 @@ parser.add_argument("manifest", help="The (JSON) manifest")
MAIN_TEMPLATE = """\ MAIN_TEMPLATE = """\
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
\"\"\"Zapp-generated __main__\""\" \"\"\"Zapp!-generated __main__\""\"
from importlib import import_module from importlib import import_module
import os import os
import sys import sys
# FIXME: This is absolutely implementation details.
# Execing would be somewhat nicer
from runpy import _run_module_as_main from runpy import _run_module_as_main
for script in {scripts!r}: for script in {scripts!r}: