Juh_
Juh_

Reputation: 15539

Can I install a python package for all users (with setuptools in develop mode)

I found out that packages that I installed with setuptools are not accessible by other users. I understand that this behavior is logical, especially because I installed them in develop mode. However I would like to give other users on my server the access to these packages: they are quite complicated to install.

So my questions are:

  1. for the future, is there a way to do (develop) install for all users, or some multiuser mode (eg. group)?
  2. Is there a way to "simply" give access to such packages?

For both, I guess the main trouble are about dependencies.

[I am running ubuntu 13.04 (I can update if necessary), but answer for any OS are welcome]

Upvotes: 0

Views: 6352

Answers (1)

enrico.bacis
enrico.bacis

Reputation: 31504

Prefix your installation command with sudo and you will install the package globally.

Upvotes: 1

Related Questions