add build rules for new py binding
This commit is contained in:
parent
e1ed7f28d5
commit
b2de6d983c
11
Makefile.am
11
Makefile.am
@ -19,6 +19,15 @@ P_COMPILE_DIR =
|
||||
P_DIST_DIR = swig
|
||||
endif
|
||||
|
||||
# turn on vips8 Python if we can
|
||||
if HAVE_PYTHON
|
||||
P8_COMPILE_DIR = python
|
||||
P8_DIST_DIR =
|
||||
else
|
||||
P8_COMPILE_DIR =
|
||||
P8_DIST_DIR = python
|
||||
endif
|
||||
|
||||
if ENABLE_DOCS
|
||||
D_DIST_DIR =
|
||||
D_BUILD_DIR = doc
|
||||
@ -35,6 +44,7 @@ SUBDIRS = \
|
||||
doc \
|
||||
$(C_COMPILE_DIR) \
|
||||
$(P_COMPILE_DIR) \
|
||||
$(P8_COMPILE_DIR) \
|
||||
$(D_BUILD_DIR)
|
||||
|
||||
EXTRA_DIST = \
|
||||
@ -48,6 +58,7 @@ EXTRA_DIST = \
|
||||
depcomp \
|
||||
$(C_DIST_DIR) \
|
||||
$(P_DIST_DIR) \
|
||||
$(P8_DIST_DIR) \
|
||||
$(D_DIST_DIR)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
|
6
TODO
6
TODO
@ -1,12 +1,6 @@
|
||||
|
||||
- python:
|
||||
|
||||
- can we hook into class method lookup? read the sources again
|
||||
|
||||
- should be a separate package? pyvips?
|
||||
|
||||
easier to get into CPAN or whatever the python thing is called
|
||||
|
||||
- do more tests
|
||||
|
||||
- put exif autorotate into jpeg load
|
||||
|
@ -745,7 +745,7 @@ AC_ARG_WITH([python],
|
||||
|
||||
if test x"$with_python" != "xno"; then
|
||||
if test x"$enable_cxx" = "xno"; then
|
||||
# if C++ if off, we can't do Python
|
||||
# if C++ is off, we can't do Python
|
||||
with_python=no
|
||||
AC_MSG_WARN([C++ is off, disabling Python binding])
|
||||
else
|
||||
@ -823,6 +823,7 @@ AC_OUTPUT([
|
||||
tools/batch_rubber_sheet
|
||||
tools/light_correct
|
||||
tools/shrink_width
|
||||
python/Makefile
|
||||
swig/Makefile
|
||||
swig/vipsCC/Makefile
|
||||
man/Makefile
|
||||
|
4
python/Makefile.am
Normal file
4
python/Makefile.am
Normal file
@ -0,0 +1,4 @@
|
||||
pygioverridesdir = $(pyexecdir)/gi/overrides
|
||||
|
||||
pygioverrides_PYTHON = \
|
||||
Vips.py
|
Loading…
Reference in New Issue
Block a user