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