pinterface / burgled-batteries

A bridge between Python and Lisp (FFI bindings, etc.)
Other
113 stars 21 forks source link

Support for differents python executables is possible? #14

Open alejandrozf opened 7 years ago

alejandrozf commented 7 years ago

I mean, is possible to choose python executable from like python2 , python3 and/or other executables inside virtual environments, created with virtualenv ?

pinterface commented 7 years ago

Right now, no, that doesn't work. I'm unfamiliar with how virtualenv works, so I have no idea what it would take to make that possible. Right now, b-b only works with python2. Xu Jingtao has made some progress towards python3 support (see #8), though I'm ashamed to say I've been very bad about following that effort.

I'd be open to ideas on how to make switching via virtualenv work, but since it compiles against the C-level API, I'm unclear on if that would even be possible in whatever way you envision.