Re: [PATCH v2 1/2] tools: ynl: add script dir to sys.path

From: Donald Hunter
Date: Tue Nov 12 2024 - 04:35:51 EST


Jan Stancek <jstancek@xxxxxxxxxx> writes:

> Python options like PYTHONSAFEPATH or -P [1] do not add script
> directory to PYTHONPATH. ynl depends on this path to build and run.
>
> [1] This option is default for Fedora rpmbuild since introduction of
> https://fedoraproject.org/wiki/Changes/PythonSafePath
>
> Signed-off-by: Jan Stancek <jstancek@xxxxxxxxxx>
> Acked-by: Jakub Kicinski <kuba@xxxxxxxxxx>

Reviewed-by: Donald Hunter <donald.hunter@xxxxxxxxx>