Menu

#2 python setup.py install --root=... ?

open
nobody
None
5
2006-12-11
2006-12-11
Anonymous
No

hi
i want to create a package for arch linux, but i need to specify a prefix for setup.py.
usually this is done by adding the --root= option, which does not work for stylus-toolbox.
so i looked into the setup.py file and found you use --prefix, but
python setup.py install --prefix=$startdir/pkg
does not work either.

so what's the correct way?

Discussion

  • Rob Shinn

    Rob Shinn - 2006-12-15

    Logged In: YES
    user_id=1455827
    Originator: NO

    Type 'make install' in the package dir as root. (See the README file)

     
  • Nobody/Anonymous

    Logged In: NO

    but i need to specify the prefix to build the package before doing that.
    i also should be able to do that with a normal user, as long as i don't install into a directory i'm not allowed to write in.

     

Log in to post a comment.