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

Don't use sys.path[0] for storing the config and log files #53

Open
MaeIsBad opened this issue Nov 30, 2021 · 1 comment · May be fixed by #54
Open

Don't use sys.path[0] for storing the config and log files #53

MaeIsBad opened this issue Nov 30, 2021 · 1 comment · May be fixed by #54

Comments

@MaeIsBad
Copy link

RIght now jwt_tool uses sys.path[0] to store the config and the log files(https://github.com/ticarpi/jwt_tool/blob/master/jwt_tool.py#L1882) which makes it impossible to package it, and makes it annoying to share a single install between multiple projects. It would be nice to have it configurable via a CLI flag, have it use the CWD or use an envvar

@MaeIsBad
Copy link
Author

Arguably it may be better to put the config in XDG_CONFIG_PATH but this was quicker to make a commit for :^

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