shedskin-packaging

Annotated shared.py.diff

52:c98ba3ffdeed
2011-09-06 Paul Boddie The README.rst file is also absent from upstream now.
paul@21 1
--- shedskin/shared.py	2010-06-20 21:19:21.000000000 +0200
paul@21 2
+++ shedskin/shared.py	2010-06-20 21:19:47.000000000 +0200
paul@21 3
@@ -39,7 +39,7 @@
paul@21 4
         self.iterations = 0
paul@21 5
         self.lambdawrapper = {}
paul@21 6
         self.sysdir = '/'.join(__file__.split(os.sep)[:-1])
paul@21 7
-        self.libdir = connect_paths(self.sysdir, 'lib')
paul@21 8
+        self.libdir = connect_paths('/usr/share/shedskin', 'lib')
paul@21 9
         self.main_mod = 'test'
paul@21 10
         self.cpp_keywords = set(['asm', 'auto', 'bool', 'case', 'catch', 'char', 'const', 'const_cast', 'default', 'delete', 'do', 'double', 'dynamic_cast', 'enum', 'explicit', 'export', 'extern', 'false', 'float', 'friend', 'goto', 'inline', 'int', 'long', 'mutable', 'namespace', 'new', 'operator', 'private', 'protected', 'public', 'register', 'reinterpret_cast', 'short', 'signed', 'register', 'sizeof', 'static', 'static_cast', 'struct', 'switch', 'template', 'this', 'throw', 'true', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'void', 'volatile', 'wchar_t'])
paul@21 11
         self.cpp_keywords.update(['stdin', 'stdout', 'stderr', 'std', 'abstract', 'st_mtime', 'st_atime', 'st_ctime', 'errno', 'fileno', 'environ', 'rand', 'optind', 'opterr', 'optopt', 'optarg', 'exit'])