2
0

setup.py 520 B

123456789101112131415161718192021
  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. setup(
  17. console=['check_cfc.py'],
  18. name="Check CFC",
  19. description='Check Compile Flow Consistency'
  20. )