[oi-dev] Publishing package requiring python
Alexander Pyhalov
alp at rsu.ru
Tue Apr 12 07:00:27 UTC 2016
Hi.
bentahyr at chez.com писал 12.04.2016 08:07:
> But which version...
>
> The scripts require python3.
> I made a patch to replace python3 to python3.4 as there is no python3
> binary or link in OI. But when I do a gmake publish :
>
...
> $ head -n1
> /export/oi-project/benf33/oi-userland/components/library/lensfun/build/prototype/i386/usr/bin/lensfun-update-data
> #!/usr/bin/env python3.4
>
> How can I work around it ?
> Full path to python3.4 instead of env ? I tried... doesn't work.
Yes, you should patch each executable python script to have shebang
#!/usr/bin/python3.4
---
System Administrator of Southern Federal University Computer Center
More information about the oi-dev
mailing list