1"""For use on Windows. Run with:
2    python.exe setup.py py2exe
3    """
4from distutils.core import setup
5try:
6    import py2exe
7except ImportError:
8    import platform
9    import sys
10    if platform.system() == 'Windows':
11        print "Could not find py2exe. Please install then run setup.py py2exe."
12        raise
13    else:
14        print "setup.py only required on Windows."
15        sys.exit(1)
16
17setup(
18      console=['check_cfc.py'],
19      name="Check CFC",
20      description='Check Compile Flow Consistency'
21      )
22