Mercurial > hg > Members > aka > jupyter_CbC_kernel
changeset 72:40c903dde893
update master.c path to correspond to where pip install will put it
author | Cody Horst <chorst@uw.edu> |
---|---|
date | Fri, 08 Dec 2017 20:17:56 -0800 |
parents | 828af72656e2 |
children | b6b613c2a28a |
files | jupyter_c_kernel/kernel.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jupyter_c_kernel/kernel.py Fri Dec 08 19:34:26 2017 -0800 +++ b/jupyter_c_kernel/kernel.py Fri Dec 08 20:17:56 2017 -0800 @@ -83,7 +83,7 @@ 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):