Browse Source

Add initial libcvautomation_funcs.py and documentation

Bradlee Speice 7 years ago
parent
commit
d7de401d66
4 changed files with 7 additions and 8 deletions
  1. 1
    1
      configure.ac
  2. 2
    2
      docs/Doxyfile_library.in
  3. 4
    0
      python/libcvautomation_funcs.py
  4. 0
    5
      python/setup.py.in

+ 1
- 1
configure.ac View File

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

+ 2
- 2
docs/Doxyfile_library.in View File

@@ -459,7 +459,7 @@ WARN_LOGFILE           =
459 459
 # directories like "/usr/src/myproject". Separate the files or directories 
460 460
 # with spaces.
461 461
 
462
-INPUT                  = @top_srcdir@/include/
462
+INPUT                  = @top_srcdir@/include/ @top_srcdir@/python/libcvautomation_funcs.py
463 463
 
464 464
 # If the value of the INPUT tag contains directories, you can use the 
465 465
 # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
@@ -480,7 +480,7 @@ RECURSIVE              = YES
480 480
 # excluded from the INPUT source files. This way you can easily exclude a 
481 481
 # subdirectory from a directory tree whose root is specified with the INPUT tag.
482 482
 
483
-EXCLUDE                = 
483
+EXCLUDE                =
484 484
 
485 485
 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or 
486 486
 # directories that are symbolic links (a Unix filesystem feature) are excluded 

+ 4
- 0
python/libcvautomation_funcs.py View File

@@ -0,0 +1,4 @@
1
+## \file libcvautomation_funcs.py
2
+# \brief Libcvautomation wrapper for python
3
+# \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.
4
+# \author Bradlee Speice

+ 0
- 5
python/setup.py.in View File

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

Loading…
Cancel
Save