[fdo-internals] Code Submission Notification: Ticket #39 -
AddPython Wrappers for FDO API (Linux)
greg.boone at autodesk.com
Tue Mar 20 12:22:16 EDT 2007
This submission adds additional Python scripting support to the FDO API.
The FDO build process now allows for the generation of a set of Python
wrapper scripts for the FDO API using SWIG on Linux.
In order to build the Python wrappers, users will have to install Python
To install SWIG, refer to: http://www.swig.org/
To install Python, refer to: http://www.python.org/
The FDO python scripts have been tested using SWIG 1.3.31 and Python
NOTE: Python 2.5 is not currently supported.
Once SWIG and python have been installed, set the PYTHON_LIB_PATH and
PYTHON_INCLUDE_PATH environment variables to point to the locations of
the Python Include and Library files.
** These variables are maintained in the [FDO
In order to build the FDO Python Wrappers, build and install the FDO
libraries in /usr/local/fdo-3.3.0/lib using the directions outlined in
cd [FDO OpenSource]
Once the FDO install is complete, cd to [FDO OpenSource]/Fdo/Python and
run the build_linux.sh script. The Python components will be also be
installed in /usr/local/fdo-3.3.0/lib.
cd [FDO OpenSource]/Fdo/Python
To run the python unit tests,
cd [FDO OpenSource]/Fdo/Python/UnitTest
1) The Python script generation process is not yet supported from
the top level [FDO OpenSource]/build_linux.sh script
2) The Python script generation process uses a hard-coded Makefile
and does yet support configure.
3) The install places the FDO.py script into
/usr/local/fdo-3.3.0/lib. This needs to be verified.
Date: 2007-03-19 23:28:38 -0400 (Mon, 19 Mar 2007) New Revisions:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fdo-internals