libs update
This commit is contained in:
parent
4447de99ac
commit
fe95b97613
@ -33,9 +33,9 @@ class Tox(object):
|
|||||||
# TODO: different names for different OS
|
# TODO: different names for different OS
|
||||||
temp = os.path.abspath(__file__)
|
temp = os.path.abspath(__file__)
|
||||||
temp = os.path.realpath(temp)
|
temp = os.path.realpath(temp)
|
||||||
temp = os.path.dirname(temp)
|
temp = os.path.dirname(temp) + '/libs/'
|
||||||
os.chdir(temp + '/libs/')
|
os.chdir(temp)
|
||||||
self.libtoxcore = CDLL('libtoxcore.so')
|
self.libtoxcore = CDLL(temp + 'libtoxcore.so')
|
||||||
print self.libtoxcore.__dict__
|
print self.libtoxcore.__dict__
|
||||||
self.libtoxcore.tox_options_new.restype = POINTER(ToxOptions)
|
self.libtoxcore.tox_options_new.restype = POINTER(ToxOptions)
|
||||||
# TODO: load from settings
|
# TODO: load from settings
|
||||||
|
Loading…
Reference in New Issue
Block a user