annotate python/ppci/__init__.py @ 152:b73bc14a3aa3
Light coupling ide and c3 frontend
author |
Windel Bouwman |
date |
Sat, 02 Mar 2013 09:56:12 +0100 |
parents |
f2d980eef509 |
children |
6b2bec5653f1 |
rev |
line source |
1
|
1 # File to make this directory a package.
|
|
2
|
106
|
3 import sys
|
|
4
|
99
|
5 version = '0.0.1'
|
|
6
|
106
|
7 # Assert python version:
|
|
8 if sys.version_info.major != 3:
|
|
9 print("Needs to be run in python version 3.x")
|
|
10 sys.exit(1)
|
|
11
|
152
|
12 from .common import SourceLocation, SourceRange
|
|
13 from .errors import CompilerError, DiagnosticsManager
|
|
14 from .errors import printError
|
|
15
|