JoseBlanca / seq_crumbs

Little sequence file utilities meant to work within Unix pipelines
Other
37 stars 10 forks source link

Respect DESTDIR in Makefiles #13

Open mmokrejs opened 6 years ago

mmokrejs commented 6 years ago

Hi, somewhere you should preprend DESTDIR variable in front of $PREFIX so that installs into a temporary place would work as usual. Most pythonic packages with setup.py work that way. I will attach a log file showing that the install process tried to install the files right to my /usr/share/man/man1/ instead of "$DESTDIR"/usr/share/man/man1/. Thank you.

build.log.txt

mmokrejs commented 6 years ago

This works around it for me but uses Gentoo-specific variable.

sed -e "s#sys.prefix#os.getenv('ED')+'/usr/'#" -i setup.py

There must be some generally existing variable used by other pythonic packages, something like DESTDIR respected by make?