mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
2ece73cc86
In order to add generated pyc files to the RECORD file for our package, we need to know their path! To raise confidence that we're doing this correctly, we assert the existence of the expected 'pyc' files while still using the old installation logic. Some valid reasons why pyc files may not be generated: 1. Syntax error in the installed Python files 2. There is already a pyc file in-place that isn't writable by the current user We don't fail installation in those cases today, and we wouldn't want to change our behavior here, so we only assert that the pyc file was created if `compileall.compile_file` indicates success. |
||
---|---|---|
.. | ||
pip |