Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instructions for non-root? #289

Closed
pastcompute opened this issue Feb 20, 2016 · 2 comments
Closed

Installation instructions for non-root? #289

pastcompute opened this issue Feb 20, 2016 · 2 comments

Comments

@pastcompute
Copy link
Contributor

Hi

The instructions in README.rst only show how to install as root using sudo; this is not ideal security practice and also leaves working directories owned by root in the working copy.

I was able to install and use buildozer as normal user (not requiring sudo) as follows:

  • add $HOME/.local/bin to $PATH, logout and login again
  • run python setup.py install --user
  • tested under ubuntu 15.10 with python2.7

This might need more testing under other O/S situations before finalising the instructions?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@kived
Copy link
Contributor

kived commented May 8, 2016

User installation instructions would be a good addition.

Also, the order of the system-wide installation instructions should change (stable before dev), and the dev version should use different instructions:

python setup.py build
sudo pip install -e .

This builds with normal user credentials first, so no files will be owned by root, and installs in editable mode (meaning if you update your clone, it updates the installed version).

@AndreMiras
Copy link
Member

Completely agree, no package should ever require to be root.
This is fixed now

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

No branches or pull requests

3 participants