From: Andreas Enge <andreas@enge.fr>
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: bug-guix@gnu.org
Subject: Re: libxml2-python
Date: Tue, 12 Mar 2013 21:26:36 +0100 [thread overview]
Message-ID: <201303122126.36664.andreas@enge.fr> (raw)
In-Reply-To: <513CB05E.80609@gmail.com>
Am Sonntag, 10. März 2013 schrieb Cyril Roelandt:
> On 03/07/2013 11:38 PM, Andreas Enge wrote:
> > I am attaching the resulting patch. Is it reasonable to apply it to
> > the libxml2 package, or would it be preferable to create a separate
> > libxml2- python package?
> I'm not sure it is a good idea to automatically install bindings along
> with the library, so I'd rather have a package per binding.
I would rather say "one tarball, one package". But this case is borderline:
The python bindings are not installed automatically, but need an additonal
"python setup.py" step in a subdirectory, which even compiles a shared
library. And they can be downloaded in a separate tarball.
Are there any other opinions? So far, I modified the existing package to
also install the bindings, but they could easily be split out.
> On an unrelated note, the PYTHONPATH envrionment variable must be
> adjusted in order to use the library, since it is not installed in a
> "standard" location, but I guess there is not much we can do about it.
Yes, I needed to add
(setenv "PYTHONPATH" (string-append libxml2 "/lib/python2.7/site-
packages"))
as well as in some other place
(setenv "PERL5LIB" (string-append perl-xml-parser
"/lib/perl5/site_perl"))
This had better be handled centrally. One could do it in the same way as
CPATH currently, but Ludovic had some ideas how to generalise it even
further. I added a "FIXME" comment in the build recipe.
Andreas
next prev parent reply other threads:[~2013-03-12 20:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 22:43 libxml2-python Andreas Enge
2013-03-07 0:47 ` libxml2-python Cyril Roelandt
2013-03-07 22:38 ` libxml2-python Andreas Enge
2013-03-07 23:25 ` libxml2-python Ludovic Courtès
2013-03-08 12:13 ` libxml2-python Andreas Enge
2013-03-14 13:25 ` libxml2-python Ludovic Courtès
2013-03-14 14:17 ` libxml2-python Andreas Enge
2013-03-10 16:10 ` libxml2-python Cyril Roelandt
2013-03-12 20:26 ` Andreas Enge [this message]
2013-03-14 17:34 ` libxml2-python Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201303122126.36664.andreas@enge.fr \
--to=andreas@enge.fr \
--cc=bug-guix@gnu.org \
--cc=tipecaml@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.