Add initial libcvautomation_funcs.py and documentation

This commit is contained in:
Bradlee Speice 2012-08-14 13:35:16 -04:00
parent e932c367d3
commit d7de401d66
4 changed files with 7 additions and 8 deletions

View File

@ -114,7 +114,7 @@ if test "$with_python" != "no"; then
AM_PATH_PYTHON([2.4]) AM_PATH_PYTHON([2.4])
m4_include([m4/m4_ax_python_devel.m4]) m4_include([m4/m4_ax_python_devel.m4])
AX_PYTHON_DEVEL([>= '2.4']) AX_PYTHON_DEVEL([>= '2.4'])
AC_CONFIG_FILES([python/Makefile] [python/setup.py]) AC_CONFIG_FILES([python/Makefile])
fi fi
if test "$Python" == "missing"; then if test "$Python" == "missing"; then
echo "Could not find a suitable Python program. Disabling building python support..." echo "Could not find a suitable Python program. Disabling building python support..."

View File

@ -459,7 +459,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories # directories like "/usr/src/myproject". Separate the files or directories
# with spaces. # with spaces.
INPUT = @top_srcdir@/include/ INPUT = @top_srcdir@/include/ @top_srcdir@/python/libcvautomation_funcs.py
# If the value of the INPUT tag contains directories, you can use the # If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp

View File

@ -0,0 +1,4 @@
## \file libcvautomation_funcs.py
# \brief Libcvautomation wrapper for python
# \details This source file is designed to give high-level access to libcvautomation using Python. It was modeled after the Bash wrapper, but allows for access to all the extra features of Python.
# \author Bradlee Speice

View File

@ -1,5 +0,0 @@
from distutils.core import setup
setup(name='@PACKAGE_NAME@',
version='@PACKAGE_VERSION@',
py_modules=['@PACKAGE_NAME@'],
)