cmds.projects: Two fixes to Python search path generation #49
1 changed files with 1 additions and 1 deletions
cmds.projects.CmdPythonpath: Reverse PYTHONPATH
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m48s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m55s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m46s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m54s
CI / Packaging test (push) Successful in 0s
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m48s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m55s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m46s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m54s
CI / Packaging test (push) Successful in 0s
CmdPythonpath, AKA pythonpath, prints a PYTHONPATH which runs from root first to dependency leaves last. This works now but doesn't give local overrides the advantage it should. Fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
commit
11ccaef832
|
|
@ -55,4 +55,4 @@ class CmdPythonpath(Cmd): # export
|
|||
path = f'{args.path_component_prefix}{path}'
|
||||
out.append(path)
|
||||
if out:
|
||||
print(args.delimiter.join(out))
|
||||
print(args.delimiter.join(reversed(out)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue