-
Notifications
You must be signed in to change notification settings - Fork 50
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
Prevent .pyc files from being added to tarballs #225
Comments
We have seen this happening when building ('Python', '3.9.5'), # required for running the tests This happens despite In the present case (building software-layer/create_tarball.sh Lines 53 to 61 in 7ea7058
There may be different options to not let leak in not-built packages into the tarball:
|
…ync-0 Further changes to get closer to EESSI
Not sure when this started happening, but for the tarballs of PR #195 (see e.g. https://github.com/EESSI/staging/pull/129) I noticed that they were changing an existing Python installation. It turns out that it's because of a new
.pyc
file that is generated in the Python installation directory:We have run into something similar before, and added a fix for this to the installation script that should write the
.pyc
files to a temporary directory:https://github.com/EESSI/software-layer/blob/main/EESSI-pilot-install-software.sh#L81
But for some reason that doesn't seem to work here.
The text was updated successfully, but these errors were encountered: