32 |
archive. If you modify shapelib.i or dbflib.i and need to recreate the |
archive. If you modify shapelib.i or dbflib.i and need to recreate the |
33 |
generated files, you need SWIG 1.3 Alpha 5. It's unlikely that other |
generated files, you need SWIG 1.3 Alpha 5. It's unlikely that other |
34 |
versions will work. |
versions will work. |
35 |
|
In addition you need to add the following lines to initdbflibc(void) |
36 |
|
in dbflib_wrap.c. |
37 |
|
/* because we are in a python module now, we can give out |
38 |
|
* pointers to python's locale agonistic function |
39 |
|
* XXX this clearly is a hack |
40 |
|
*/ |
41 |
|
DBFSetatof_function(&PyOS_ascii_atof); |
42 |
|
|
43 |
You also need Python, of course. If you installed prebuilt packages |
You also need Python, of course. If you installed prebuilt packages |
44 |
such as RPMs of some Linux distributions, please make sure that the |
such as RPMs of some Linux distributions, please make sure that the |