Home | History | Annotate | Download | only in check_cfc
      1 """For use on Windows. Run with:
      2     python.exe setup.py py2exe
      3     """
      4 from distutils.core import setup
      5 try:
      6     import py2exe
      7 except 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 
     17 setup(
     18       console=['check_cfc.py'],
     19       name="Check CFC",
     20       description='Check Compile Flow Consistency'
     21       )
     22