|
Re: SWIG and autotools - some solutions (corrected further): msg#00162programming.swig
Please let me know if this is too off-topic. I would assume it belongs into the swig archives... also sprach Craig N. Scott <craig.scott@xxxxxxxx> [2004.05.26.0619 +0200]: > pythonSitePackagesdir = $(prefix)/python2.2/site-packages > pythonSitePackages_LTLIBRARIES = _gumby.la > pythonSitePackages_SCRIPTS = gumby_wrap.py > _gumby_la_SOURCES = .... Together with AM_PYTHON_PATH in configure.ac, you should use the following: pkgpyexec_LTLIBRARIES = _gumpy.la pkgpython_PYTHON = gumpy.py This will use ${prefix}/usr/lib/python2.3/site-packages/PACKAGE, where PACKAGE is set in configure.ac. It uses the highest python version found, or the one you specify as argument to AM_PYTHON_PATH. You may leave out the pkg prefix to install to site-packages directly, though I don't recommend that. -- Martin F. Krafft Artificial Intelligence Laboratory Ph.D. Student Department of Information Technology Email: krafft@xxxxxxxx University of Zurich Tel: +41.(0)1.63-54323 Andreasstrasse 15, Office 2.18 http://ailab.ch/people/krafft CH-8050 Zurich, Switzerland Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! Spamtraps: krafft.bogus@xxxxxxxx madduck.bogus@xxxxxxxxxxx "with sufficient thrust, pigs fly just fine. however, this is not necessarily a good idea. it is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- rfc 1925
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: using stdout/stderr with python: 00162, Martin F Krafft |
|---|---|
| Next by Date: | Re: Re: using stdout/stderr with python: 00162, Luigi Ballabio |
| Previous by Thread: | RE: SWIG and autotools - some solutions (corrected further)i: 00162, Craig N. Scott |
| Next by Thread: | RE: SWIG and autotools: 00162, Pereira, Ricardo Scachetti |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |