Build the python package and generate dist-specific packages

This commit is contained in:
Bradlee Speice
2012-08-13 13:17:54 -04:00
parent 3d18823b46
commit bd542b07b4
2 changed files with 18 additions and 3 deletions

View File

@ -1,8 +1,8 @@
EXTRA_DIST = libcvautomation.py
install-data-local: setup.py
$(Python) setup.py install
$(Python) setup.py install --prefix=$(RPM_BUILD_ROOT)/$(prefix) --exec-prefix=$(RPM_BUILD_ROOT)/$(exec_prefix)
##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.