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>