[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building/installing Python modules?

From: Skip Montanaro
Subject: building/installing Python modules?
Date: Mon, 22 Apr 2002 13:47:48 -0500

I'm trying to figure out how to compile and link a Python extension module.
In my generated aclocal.m4 file I saw this comment:

    # Adds support for distributing Python modules and packages.  To
    # install modules, copy them to $(pythondir), using the python_PYTHON
    # automake variable.  To install a package with the same name as the
    # automake package, install to $(pkgpythondir), or use the
    # pkgpython_PYTHON automake variable.

This, unfortunately, makes not a lick of sense to me.  I didn't see anything
in the automake info file about building Python extension modules.  Can
someone give me a simple automake recipe for building python/
from python/alfmodule.c?

I found references to $(pythondir) and $(pkgpythondir) in the automake
manual, but not the other items.  I don't need/want $(pkgpythondir).  I'm
just installing a simple module, not a package.


Skip Montanaro (address@hidden -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]