Enable denoise.py to work as script to avoid need for PYTHONPATH in env #281
+63
−66
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR does away with some of the complexity around the
rebench-denoise
command when used directly from rebench.denoise.py
is now an executable script with a shebang line, and executed directly.While
rebench-denoise
is convenient for command-line users, it expects a proper setup of Python and aPYTHONPATH
that allows the launcher script (generated by pip) to find the actual implementation.This meant we had to set
PYTHONPATH
when using sudo to runrebench-denoise
(as per #260), which could possibly interfere with Python programs running.Minor Changes
denoise.py
executable for alldenoise.py
/rebench-denoise
does not support--version
any longer, but that seems like an ok tradeoffRelated Issues
PYTHONPATH
PYTHONPATH
@martinmcclure this might impact you
@vext01 and you possibly, too.