mirror of
https://github.com/bspeice/libcvautomation
synced 2025-06-30 21:37:00 -04:00
Set up distributing the python bindings
This commit is contained in:
16
python/Makefile.am
Normal file
16
python/Makefile.am
Normal file
@ -0,0 +1,16 @@
|
||||
EXTRA_DIST = libcvautomation.py
|
||||
|
||||
install-data-local: setup.py
|
||||
$(Python) setup.py install
|
||||
|
||||
##Unfortunately, we can't really uninstall the python file.
|
||||
##The python dist-utils don't tell us where it got installed
|
||||
##to, so we can't uninstall it.
|
||||
##uninstall-local:
|
||||
|
||||
CLEANFILES = setup.py
|
||||
|
||||
all-local: libcvautomation.py
|
||||
clean-local:
|
||||
rm -rf setup.py
|
||||
|
2
python/libcvautomation.py
Normal file
2
python/libcvautomation.py
Normal file
@ -0,0 +1,2 @@
|
||||
class libcvautomation:
|
||||
pass
|
5
python/setup.py.in
Normal file
5
python/setup.py.in
Normal file
@ -0,0 +1,5 @@
|
||||
from distutils.core import setup
|
||||
setup(name='@PACKAGE_NAME@',
|
||||
version='@PACKAGE_VERSION@',
|
||||
py_modules=['@PACKAGE_NAME@'],
|
||||
)
|
Reference in New Issue
Block a user