Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Installation does not honour --prefix #30

Open
ghost opened this issue Oct 13, 2013 · 3 comments
Open

Installation does not honour --prefix #30

ghost opened this issue Oct 13, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 13, 2013

With 0.9.3, the following command raises an error (after adding the prefix directory to PYTHONPATH):

$ python setup.py install --prefix=/tmp/aard

...
running install_data
creating /nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/share/icons
error: could not create '/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/share/icons': Permission denied

The /nix/store/... path is where my python installation resides, so installation does not seem to follow the given --prefix. I also tried to add the parameter
--install-data=/tmp/aard
with the same outcome.

The problem occurs when trying to package aarddict for the GNU Guix distribution, in which each package is installed into its own directory.

Andreas

@ildar
Copy link

ildar commented Oct 16, 2013

@domenkozar
Copy link

We have the same problem in Nix. Basically python is smart and disallows prefixing install_data. See http://stackoverflow.com/a/13476594/133235

Patching to the rescue?

@domenkozar
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants