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

[Discussion] Output directory #16

Open
engelvinter opened this issue Mar 21, 2014 · 1 comment
Open

[Discussion] Output directory #16

engelvinter opened this issue Mar 21, 2014 · 1 comment

Comments

@engelvinter
Copy link

Basicly what I am doing is to setup/creating packages for Tellprox in Alpine Linux (a small secure ram-based Linux distro for routers - http://alpinelinux.org and https://github.com/engelvinter/aports). Explains my interest in setup.py :-)

I'm thinking of doing another update:
An optional output path when starting e.g.
python -m tellprox /myoutput/path
Note: If not supplying any path everything will be backward compatible

Why:
I want tellprox to run as the user 'tellprox', writing config.ini and compiled.js into an output directory (having permissions for user tellprox).
In the directory /usr/local/lib/pythonX.Y/site-packages/tellprox only root has permission to write.
Also since Alpine Linux is ram-based I want the config.ini written to a directory which is flashed to disc.

@p3tecracknell
Copy link
Owner

Feel free to put a patch through. I support the idea, in fact think it's a good idea. I don't use Linux as my main OS so don't organise python scripts as much to use it, but if it helps, then definitely.
main.py has got a bit unwieldy and needs a clean up, so feel free to patch it your way as I'll be giving it a clean up when I can.

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

No branches or pull requests

2 participants