diff options
| author | jvoisin | 2012-12-08 02:02:25 +0100 |
|---|---|---|
| committer | jvoisin | 2012-12-13 14:24:01 +0100 |
| commit | cbf8a2a65928694202e19b6bcf56ec84bcbf613c (patch) | |
| tree | e106475b0d5c003505336b5ae6416e4508bb768b /MAT/mat.py | |
| parent | 67d5c1fa6b9ab6e1e7328ee57b15d8e46526d72a (diff) | |
Reorganize source tree and files installation location, cleanup setup.py (Closes: #689409)
Diffstat (limited to '')
| -rw-r--r-- | MAT/mat.py (renamed from lib/mat.py) | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -41,6 +41,8 @@ def get_sharedir(filename): | |||
| 41 | return os.path.join('/usr/local/share/mat/', filename) | 41 | return os.path.join('/usr/local/share/mat/', filename) |
| 42 | elif os.path.exists(os.path.join('/usr/share/mat/', filename)): | 42 | elif os.path.exists(os.path.join('/usr/share/mat/', filename)): |
| 43 | return os.path.join('/usr/share/mat', filename) | 43 | return os.path.join('/usr/share/mat', filename) |
| 44 | elif os.path.exists(os.path.join('/usr/local/share/pixmaps/', filename)): | ||
| 45 | return os.path.join('/usr/local/share/pixmaps/', filename) | ||
| 44 | 46 | ||
| 45 | 47 | ||
| 46 | class XMLParser(xml.sax.handler.ContentHandler): | 48 | class XMLParser(xml.sax.handler.ContentHandler): |
