We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c5038 commit 0c10f6dCopy full SHA for 0c10f6d
lib/pycall/init.rb
@@ -30,8 +30,6 @@ class << PyCall::LibPython
30
remove_method :const_missing
31
end
32
33
- ENV['PYTHONPATH'] = [ File.expand_path('../python', __FILE__), ENV['PYTHONPATH'] ].compact.join(File::PATH_SEPARATOR)
34
-
35
LibPython.instance_variable_set(:@handle, LibPython::Finder.find_libpython(python))
36
class << LibPython
37
undef_method :handle
@@ -45,6 +43,8 @@ class << LibPython
45
43
require 'pycall.so'
46
44
47
+ PyCall.sys.path.append(File.expand_path('../python', __FILE__))
+
48
require 'pycall/dict'
49
require 'pycall/list'
50
require 'pycall/slice'
0 commit comments