Module: QB::Python

Defined in:
lib/qb/python.rb

Overview

Definitions

Class Method Summary collapse

Class Method Details

.binString

TODO:

Probably want more robust way of finding the Python we want and figuring out we're in Travis.

Switch python bin depending on local dev / Travis CI env

Returns:

  • (String)


18
19
20
21
22
23
24
25
# File 'lib/qb/python.rb', line 18

def self.bin
  # if File.exists? '/home/travis'
  #   'python'
  # else
  #   'python2'
  # end
  'python'
end