all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ben Woodcroft <b.woodcroft@uq.edu.au>
To: "Jovany Leandro G.C" <bit4bit@riseup.net>, guix-devel@gnu.org
Subject: Re: help build a python package (odoo)
Date: Sat, 11 Jun 2016 10:03:27 +1000	[thread overview]
Message-ID: <575B554F.1050008@uq.edu.au> (raw)
In-Reply-To: <20160610103648.052182dc@riseup.net>



On 11/06/16 01:36, Jovany Leandro G.C wrote:
> Hi,
>
> i started building  package definition:

Hi there.

[..]
> Processing dependencies for odoo==9.0rc20160610
> Searching for xlwt
> Reading https://pypi.python.org/simple/xlwt/
> Download error on https://pypi.python.org/simple/xlwt/: [Errno -2] Name
> or service not known -- Some packages may not be found!

This appears to be the problem here. This means that you'll need to add 
"python2-xlwt" as an input of some kind 
(input/native-input/propagated-input) into the package definition. 
Unfortunately, xlwt has not yet been packaged for Guix, so that also 
needs to be added.

[..]

> but if i do manually
> ~~~
> $ guix environment -L$PWD odoo
> $ cd odoo-src
> $ python setup.py build
> $ python setup.py check
> ~~~
>
> everything works, and download all requirements well *xlwt/simple*

This works because the environment has access to the internet and so can 
download it, or it is otherwise available on your system via PYTHONPATH 
or otherwise. I imagine running the same command with "--container" 
would not work. All packages are built without access to the system or 
the internet.

Hope that helps. Good luck.
ben

      reply	other threads:[~2016-06-11  0:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10 15:36 help build a python package (odoo) Jovany Leandro G.C
2016-06-11  0:03 ` Ben Woodcroft [this message]

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=575B554F.1050008@uq.edu.au \
    --to=b.woodcroft@uq.edu.au \
    --cc=bit4bit@riseup.net \
    --cc=guix-devel@gnu.org \
    /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.