Files
nuitka-mirror/bin/generate-specialized-python-code
Kay Hayen bf7afa98f8 Optimization: Generate special dict attributes automatically
* This should make it a lot easier to add more of the same.

* Also the version specific nature of iteritems is now properly
  considered.

* Cleaned up usage of templates and Jinja2 environments for better
  reuse.
2021-12-07 09:37:29 +01:00

18 lines
371 B
Python
Executable File

#!/usr/bin/env python
""" Launcher for static Python code generation tool.
"""
import os
import sys
# Unchanged, running from checkout, use the parent directory, the nuitka
# package ought to be there.
sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "..")))
# isort:start
from nuitka.tools.specialize.SpecializePython import main
main()