Debian Codegraph @

clang/utils/check_cfc/setup.py

raw
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
7 try:
8 import py2exe
9 except ImportError:
10 import platform
11 import sys
12
13 if platform.system() == "Windows":
14 print("Could not find py2exe. Please install then run setup.py py2exe.")
15 raise
16 else:
17 print("setup.py only required on Windows.")
18 sys.exit(1)
19
20 setup(
21 console=["check_cfc.py"],
22 name="Check CFC",
23 description="Check Compile Flow Consistency",
24 )