Drop -s from the launch script shebangs#600
Drop -s from the launch script shebangs#600superm1 wants to merge 1 commit intoredhat-performance:masterfrom
-s from the launch script shebangs#600Conversation
Running `make install` as suggested by `INSTALL` will place all the python modules in /usr/local which won't be included in the search path when `-s` is used in the shebang. Closes: redhat-performance#599 Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
|
This seems like python bug. According to the [1]:
From the [2]:
On my system (fedora 39): prints: I think we generally want the [1] https://docs.python.org/3/using/cmdline.html#cmdoption-s |
|
You can workaround it by installation into system sitelib, e.g.: Or whatever the system sitelib on your distro is. |
It's also a bit weird that make install has some stuff ignoring PREFIX entirely and putting things in
Yeah that works (Fedora 39). |
For
rpmbuild/mock does some magic to set the prefix automatically to |
Running
make installas suggested byINSTALLwill place all the python modules in /usr/local which won't be included in the search path when-sis used in the shebang.Closes: #599