Closed z3ntu closed 5 years ago
The commit message is not correct. The problem is that cwd apparently does not show up in PYTHONPATH for some unknown reason. Of course having an installed pyrazer would mask the problem. But there certainly are systems where an install succeeds, even if there is no installed pyrazer.
Please just write something like: Add the working directory to PYTHONPATH instead of implicitly relying on that being the default
As initialized upon program startup, the first item of this list, path[0], is the directory containing the script that was used to invoke the Python interpreter. If the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directs Python to search modules in the current directory first.
Ok, but that's not related. The problem is cwd, not the script path. Can we have a changed commit message, please?
I think this commit message described the problem+solution most appropriately.
Fixes #125