annotate python/ppci/__init__.py @ 331:a78b41ff6ad2
Added better recipe files
author |
Windel Bouwman |
date |
Fri, 07 Feb 2014 12:39:59 +0100 |
parents |
2c9768114877 |
children |
d1ecc493384e |
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
|
191
|
12 from .common import SourceLocation, SourceRange, Token
|
312
|
13 from .common import CompilerError, DiagnosticsManager
|
331
|
14
|
|
15 logformat='%(asctime)s|%(levelname)s|%(name)s|%(message)s'
|
|
16
|