diff jupyter_c_kernel/kernel.py @ 75:a1e3b056a4bd 1.2.2

Merge pull request #40 from halfhorst/master add resources/ as package data committer: GitHub <noreply@github.com>
author Brendan Rius <brendan.rius@gmail.com>
date Wed, 24 Jan 2018 11:01:54 +0100
parents 40c903dde893
children
line wrap: on
line diff
--- a/jupyter_c_kernel/kernel.py	Sun Aug 13 17:03:43 2017 +0200
+++ b/jupyter_c_kernel/kernel.py	Wed Jan 24 11:01:54 2018 +0100
@@ -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):