# Path: stagehand/toolbox/xmlconfig.py
# def get_value(value, type):
# def format_content(node):
# def nodefilter(node, *names):
#     def __init__(self, package):
#     def _get_schema(self, node):
#     def parse(self, node, fd, deep=''):
#     def _parse_var(self, node, fd, deep, first, defaults_list):
#     def _parse_config(self, node, fd, deep, first, defaults):
#     def _parse_group(self, node, fd, deep, first, defaults):
#     def _parse_list(self, node, fd, deep, first, defaults):
#     def _parse_dict(self, node, fd, deep, first, defaults):
# def _convert(xml, out, package, cfgmodule):
# def convert(infile, outfile, package, cfgmodule='config'):
# def to_code(xml, package=None, cfgmodule='config'):
# def to_object(xml, package=None, cfgmodule='config'):
# class Parser:
# 
# Path: stagehand/coffee.py
# class CSCompileError(ValueError):
# def cscompile(src, dst=None, is_html=None):
#     def subfunc(match):
# def cscompile_with_cache(src, cachedir, is_html=None):


import sys
import os
import platform
import glob
import shutil
from distutils.command.build_scripts import build_scripts as _build_scripts
from distutils.command.build_py import build_py as _build_py
from distutils.cmd import Command
from distutils.core import setup
from distutils import log
from stagehand.toolbox import xmlconfig
from stagehand import coffee
#!/usr/bin/env python3
NAME = 'stagehand'
VERSION = '0.3.2'



# Import a couple modules from the source tree needed to build, but disable
# generation of spurious pyc files.
sys.dont_write_bytecode = True
sys.dont_write_bytecode = False

if sys.hexversion < 0x03030000:
    print('fatal: Python 3.3 or later is required')
    sys.exit(1)

class build_py(_build_py):
    def build_packages(self):
        super().build_packages()

        # Dynamically create script for non-zip installs.
        with open(os.path.join('build', 'stagehand'), 'w') as f:
            f.write('#!/usr/bin/env python3\nimport stagehand.bootstrap\n')

        for package in self.packages:
            package_dir = self.get_package_dir(package)

# Path: stagehand/toolbox/xmlconfig.py
# def get_value(value, type):
# def format_content(node):
# def nodefilter(node, *names):
#     def __init__(self, package):
#     def _get_schema(self, node):
#     def parse(self, node, fd, deep=''):
#     def _parse_var(self, node, fd, deep, first, defaults_list):
#     def _parse_config(self, node, fd, deep, first, defaults):
#     def _parse_group(self, node, fd, deep, first, defaults):
#     def _parse_list(self, node, fd, deep, first, defaults):
#     def _parse_dict(self, node, fd, deep, first, defaults):
# def _convert(xml, out, package, cfgmodule):
# def convert(infile, outfile, package, cfgmodule='config'):
# def to_code(xml, package=None, cfgmodule='config'):
# def to_object(xml, package=None, cfgmodule='config'):
# class Parser:
# 
# Path: stagehand/coffee.py
# class CSCompileError(ValueError):
# def cscompile(src, dst=None, is_html=None):
#     def subfunc(match):
# def cscompile_with_cache(src, cachedir, is_html=None):


# Path: setup.py
import sys
import os
import platform
import glob
import shutil
from distutils.command.build_scripts import build_scripts as _build_scripts
from distutils.command.build_py import build_py as _build_py
from distutils.cmd import Command
from distutils.core import setup
from distutils import log
from stagehand.toolbox import xmlconfig
from stagehand import coffee

#!/usr/bin/env python3
NAME = 'stagehand'
VERSION = '0.3.2'



# Import a couple modules from the source tree needed to build, but disable
# generation of spurious pyc files.
sys.dont_write_bytecode = True
sys.dont_write_bytecode = False

if sys.hexversion < 0x03030000:
    print('fatal: Python 3.3 or later is required')
    sys.exit(1)

class build_py(_build_py):
    def build_packages(self):
        super().build_packages()

        # Dynamically create script for non-zip installs.
        with open(os.path.join('build', 'stagehand'), 'w') as f:
            f.write('#!/usr/bin/env python3\nimport stagehand.bootstrap\n')

        for package in self.packages:
            package_dir = self.get_package_dir(package)

            for f in glob.glob(os.path.join(package_dir, '*.cxml')):