paul@56 | 1 | Description: Put the libraries in a specific shared location. |
paul@56 | 2 | Author: Paul Boddie <paul@boddie.org.uk> |
paul@50 | 3 | Index: shedskin-0.9rc1/shedskin/shared.py |
paul@40 | 4 | =================================================================== |
paul@50 | 5 | --- shedskin-0.9rc1.orig/shedskin/shared.py 2011-09-03 13:48:49.000000000 +0200 |
paul@50 | 6 | +++ shedskin-0.9rc1/shedskin/shared.py 2011-09-06 23:05:51.000000000 +0200 |
paul@40 | 7 | @@ -39,7 +39,7 @@ |
paul@40 | 8 | self.total_iterations = 0 |
paul@40 | 9 | self.lambdawrapper = {} |
paul@40 | 10 | self.sysdir = '/'.join(__file__.split(os.sep)[:-1]) |
paul@40 | 11 | - self.libdir = connect_paths(self.sysdir, 'lib') |
paul@40 | 12 | + self.libdir = connect_paths('/usr/share/shedskin', 'lib') |
paul@40 | 13 | self.main_mod = 'test' |
paul@40 | 14 | illegal_file = file(os.path.join(self.sysdir, 'illegal')) |
paul@40 | 15 | self.cpp_keywords = set([line.strip() for line in illegal_file]) |