Changeset 3b8b25c95f70a17b7e25553124bf068268dafb8b
- Timestamp:
- 11/01/08 23:36:33 (2 months ago)
- Author:
- njs@…
- Branch:
- org.vorpus.parti
- Parent:
- 348ffaf1ecedadbadac46573bc4e6958db701fa5
- Child:
- c224b310221ca01c06bf3616c91b260ff9c91b18
- Message:
-
librarify make_constants_pxi.py
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r89cc..
|
r3b8b..
|
|
| 3 | 3 | set -e |
| 4 | 4 | rm -rf build install |
| 5 | | python make-constants-pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi |
| | 5 | python make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi |
| 6 | 6 | CFLAGS=-O0 python setup.py install --home=install |
-
|
r480d..
|
r3b8b..
|
|
| 8 | 8 | sys.exit(2) |
| 9 | 9 | (constants_path, pxi_path) = args |
| | 10 | make_constants_pxi(constants_path, pxi_path) |
| | 11 | |
| | 12 | def make_constants_pxi(constants_path, pxi_path): |
| 10 | 13 | constants = [] |
| 11 | 14 | for line in open(constants_path): |