Whoops,
I completely missed this. Sure, moving it inside should do for the
time being. Or you could keep it in the libfprint/ dir and place the
__init__.py there. All up to you. Finally, on due course of writing
my own stuff, I fixed a few other minor things, I'll send a patch soon! :)

~ mali (http://constant.inople.net/)

On Tue, Jul 1, 2008 at 2:04 AM, Lukas Sandström <[EMAIL PROTECTED]> wrote:

> Mehmet Ali Akmanalp wrote:
> > Hey Lukas,
> > About your swig bindings, attached is a __init__.py file to add to the
> > module dir so that python recognizes it as a package. Also, about the
> > package name (the dir name in site-packages), don't you think something
> such
> > as "pyfprint" would be a bit more appropriate than "libfprint"?
>
> Thanks for the patch. I haven't figured out how to change the install
> location with Automake, however, so I changed it so that pyfprint.py is
> installed directly into site-packages/ instead.
>
> /Lukas
>
>  pyfprint/Makefile.am |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/pyfprint/Makefile.am b/pyfprint/Makefile.am
> index 51fdc48..3b566f8 100644
> --- a/pyfprint/Makefile.am
> +++ b/pyfprint/Makefile.am
> @@ -1,8 +1,14 @@
>  BUILT_SOURCES = pyfprint_swig.c
>  SWIG_SOURCES = pyfprint_swig.i
>
> -pkgpython_PYTHON = pyfprint_swig.py pyfprint.py
> -pkgpyexec_LTLIBRARIES = _pyfprint_swig.la
> +# This will install to site-packages/libfprint/. How to change this to
> pyfprint/?
> +#pkgpython_PYTHON = pyfprint_swig.py pyfprint.py
> +#pkgpyexec_LTLIBRARIES = _pyfprint_swig.la
> +
> +# Install directoly to site-packages for now
> +python_PYTHON = pyfprint_swig.py pyfprint.py
> +pyexec_LTLIBRARIES = _pyfprint_swig.la
> +
>  _pyfprint_swig_la_SOURCES = pyfprint_swig.c $(SWIG_SOURCES)
>  _pyfprint_swig_la_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) $(PYTHON_CPPFLAGS)
> -I$(top_srcdir)/libfprint
>  _pyfprint_swig_la_LDFLAGS = -module
> --
> 1.5.4.5
>
_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to