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

Allow to change the location where the files get unpacked #62

Closed
facundobatista opened this issue Apr 27, 2023 · 1 comment · Fixed by #80
Closed

Allow to change the location where the files get unpacked #62

facundobatista opened this issue Apr 27, 2023 · 1 comment · Fixed by #80
Assignees

Comments

@facundobatista
Copy link
Owner

This shall be done through the PYEMPAQ_UNPACK_PATH environment variable. The indicated path must exist and be a directory, otherwise it's an error.

It will override the usage of appdirs.user_data_dir() / 'pyempaq'; in other words, the project directory will be created directly in the indicated path.

For example: PYEMPAQ_UNPACK_PATH=/bigdisk/installs python3 superapp.pyz.

@facundobatista
Copy link
Owner Author

I'm changing PYEMPAQ_UNPACK_PATH for PYEMPAQ_UNPACK_BASE_PATH to make explicit that it is the base directory (inside it will be created a directory for each project).

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

Successfully merging a pull request may close this issue.

1 participant