zhengxwen / gds2bgen

R package for the format conversion from bgen to gds
3 stars 1 forks source link

use python2 tinstead of python to run waf #3

Closed CreRecombinase closed 3 years ago

CreRecombinase commented 3 years ago

I believe the wscript file for bgen requires python 2. On machines where python is a newer version of python, right now you get something like: Waf: The wscript in '/tmp/RtmpIUKio5/R.INSTALLc590a745c77b3/gds2bgen/src/gavinband-bgen-0b7a2803adb5' is unreadable. I think adding the explicit python2 fixes that. There's also something funny going on wherewaf correctly detects the C++ compiler that R uses, but doesn't reliably detect the C compiler, and instead uses the system C compiler. Somehow this hasn't caused any problems yet for me so I haven't made any changes in that regard.

zhengxwen commented 3 years ago

Thanks!