mirror of
https://github.com/XaverKlemenschits/jupyter-c-kernel.git
synced 2025-04-14 10:26:09 +00:00
update master.c path to correspond to where pip install will put it
This commit is contained in:
parent
f0fbd41b96
commit
d02720cc84
@ -83,7 +83,7 @@ class CKernel(Kernel):
|
||||
mastertemp = tempfile.mkstemp(suffix='.out')
|
||||
os.close(mastertemp[0])
|
||||
self.master_path = mastertemp[1]
|
||||
filepath = path.join(path.dirname(path.realpath(__file__)), '..', 'resources', 'master.c')
|
||||
filepath = path.join(path.dirname(path.realpath(__file__)), 'resources', 'master.c')
|
||||
subprocess.call(['gcc', filepath, '-std=c11', '-rdynamic', '-ldl', '-o', self.master_path])
|
||||
|
||||
def cleanup_files(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user