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

Generate .pyc files during Cohorte installation #13

Open
tcalmant opened this issue Apr 17, 2015 · 0 comments
Open

Generate .pyc files during Cohorte installation #13

tcalmant opened this issue Apr 17, 2015 · 0 comments

Comments

@tcalmant
Copy link
Member

After having copied .py files, the administrator or the setup script should run the compileall standard module to generate Cohorte .pyc files while running with privileges.

This would avoid an instance of Cohorte to have writing rights on the "home" folder, and would allow sharing safely the latter between various Cohorte bases.

This should be done for both Python 2 and 3, or using the interpreter set by the administrator.

Example:

python -m compileall "$COHORTE_HOME"
@debbabi debbabi added this to the 1.3.0 milestone Apr 19, 2016
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

2 participants