Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7909
| Path | csiph.com!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.maint.python |
| Subject | How to manually install python scripts and needed modules (Was: How to tweak homebrew install target for Gubbins) |
| Date | Thu, 26 Nov 2015 19:50:01 +0100 |
| Message-ID | <qz9Md-us-1@gated-at.bofh.it> (permalink) |
| References | <qyH3C-67h-67@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Nov 26 18:41:28 2015 |
| Old-Return-Path | <andreas@an3as.eu> |
| X-Amavis-Spam-Status | No, score=-4.345 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MEDS2=2, MONOTONE_WORDS_2_15=1, RP_MATCHES_RCVD=-0.345] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -6.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13224 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20151126184112.GI30209@an3as.eu |
| Approved | robomod@news.nic.it |
| Lines | 98 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 26 Nov 2015 19:41:12 +0100 |
| X-Original-Message-ID | <20151126184112.GI30209@an3as.eu> |
| X-Original-References | <20151125120431.GG19474@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:7909 |
Show key headers only | View raw
Hi,
since nobody seems to have any experience with brew in my last
commit to the gubbins packaging git[1] I tried to install the
included python files manually. Unfortunately for the python
module I installed to
/usr/share/pyshared/gubbins
the processing to /usr/lib/python3.4/gubbins does not work. Any
hint how to do this correctly (or is my attempt a bad idea in
general)?
(Any hints to my question below are welcome as well - I just
want to install the python files ...).
Thanks for any help
Andreas.
[1] git://anonscm.debian.org/debian-med/gubbins.git
On Wed, Nov 25, 2015 at 01:04:31PM +0100, Andreas Tille wrote:
> Hi,
>
> I'm working on packaging Gubbins for the Debian Med team. The build
> currently ends up in
>
> ...
> Making install in python
> make[2]: Entering directory '/build/gubbins-1.4.3/python'
> /usr/bin/python3 setup.py build
> running build
> running build_py
> running build_scripts
> make[3]: Entering directory '/build/gubbins-1.4.3/python'
> /usr/bin/python3 setup.py install
> running install
> Checking .pth file support in /usr/local/lib/python3.4/dist-packages/
> error: can't create or remove files in install directory
>
> The following error occurred while trying to add or remove files in the
> installation directory:
>
> [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/test-easy-install-14282.pth'
>
> The installation directory you specified (via --install-dir, --prefix, or
> the distutils default setting) was:
>
> /usr/local/lib/python3.4/dist-packages/
>
> Perhaps your account does not have write access to this directory? If the
> installation directory is a system-owned directory, you may need to sign in
> as the administrator or "root" account. If you do not have administrative
> access to this machine, you may wish to choose a different installation
> directory, preferably one that is listed in your PYTHONPATH environment
> variable.
>
> For information on other options, you may wish to consult the
> documentation at:
>
> https://pythonhosted.org/setuptools/easy_install.html
>
> Please make the appropriate changes for your system and try again.
>
> Makefile:462: recipe for target 'install-exec-local' failed
> ...
>
>
>
> After contacting the author he suspects that's due to the usage of
> brew:
>
> For homebrew I don’t let it make install the python dependancies
> (line 67), and instead invoke it later in the standard python manner.
> I don’t know if this is the best way to do it, but it makes it work
> in this instance.
> https://github.com/Homebrew/homebrew-science/blob/master/gubbins.rb
> Any advise on how to improve things would be welcome
>
> Since I also never stumbled upon brew I wonder what might be the best
> way to get a clean install target for the Debian packaging and may be as
> a hint for upstream who is very responsive.
>
> Kind regards
>
> Andreas.
>
>
> [1] git://anonscm.debian.org/debian-med/gubbins.git
>
> --
> http://fam-tille.de
>
>
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to tweak homebrew install target for Gubbins Andreas Tille <andreas@an3as.eu> - 2015-11-25 13:10 +0100
How to manually install python scripts and needed modules (Was: How to tweak homebrew install target for Gubbins) Andreas Tille <andreas@an3as.eu> - 2015-11-26 19:50 +0100
Re: How to manually install python scripts and needed modules (Was: How to tweak homebrew install target for Gubbins) Piotr Ożarowski <piotr@debian.org> - 2015-11-26 20:10 +0100
csiph-web