Mercurial > lcfOS
comparison python/ppci/__init__.py @ 106:f2d980eef509
improved code generation
author | Windel Bouwman |
---|---|
date | Mon, 31 Dec 2012 18:26:56 +0100 |
parents | 6a303f835c6d |
children | b73bc14a3aa3 |
comparison
equal
deleted
inserted
replaced
105:6a303f835c6d | 106:f2d980eef509 |
---|---|
1 # File to make this directory a package. | 1 # File to make this directory a package. |
2 | |
3 import sys | |
2 | 4 |
3 version = '0.0.1' | 5 version = '0.0.1' |
4 | 6 |
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 |