Re: [PATCH 9/9] pylibfdt: Don't have setup.py depend on where it's invoked from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 9 September 2018 at 22:59, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Currently setup.py depends on being invoked from the right directory
> (specifically it needs to be run from the root of the project).  That's a
> bit confusing.
>
> This updates setup.py to no longer depend on the invoking directory by
> instead having it change directory to the location of the script itself,
> then using internal paths relative to that.
>
> Signed-off-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>
> ---
>  pylibfdt/Makefile.pylibfdt |  2 +-
>  pylibfdt/libfdt.i          |  4 ++--
>  pylibfdt/setup.py          | 13 ++++++++-----
>  3 files changed, 11 insertions(+), 8 deletions(-)

Reviewed-by: Simon Glass <sjg@xxxxxxxxxxxx>



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux