"""contains configuration data that are specific to a
particular release / installation such as version, data
paths, etc."""

import os, os.path

datadir = os.path.abspath(os.path.join(__file__,
                                       os.pardir, os.pardir,
                                       'share', 'Synopsis'))

@@ -137,18 +137,49 @@
  os.path
-%0A%0A
+, sys%0A%0Aif os.name == %22posix%22:%0A   
 datadir 
@@ -262,30 +262,1187 @@
     
-os.pardir, os.pardir,%0A
+   # lib / pythonx.y / site-packages / Synopsis / config.py%0A                                          os.pardir, os.pardir, os.pardir, os.pardir, os.pardir,%0A                                          'share', 'Synopsis'))%0Aelif os.name == %22nt%22:%0A   datadir = os.path.abspath(os.path.join(__file__,%0A                                          # lib / site-packages / Synopsis / config.py%0A                                          os.pardir, os.pardir, os.pardir, os.pardir,%0A                                          'share', 'Synopsis'))%0A%0Aelif os.name == %22mac%22:%0A   datadir = os.path.abspath(os.path.join(__file__,%0A                                          # lib / site-packages / Synopsis / config.py%0A                                          os.pardir, os.pardir, os.pardir, os.pardir,%0A                                          'share', 'Synopsis'))%0A%0Aif not os.path.exists(datadir) or not os.path.isdir(datadir):%0A   # for now lets assume this is called from within the source tree%0A   # we need a more robust way to deal with this whole issue, though%0A   # --stefan%0A%0A   datadir = os.path.abspath(os.path.join(__file__,%0A                                          os.pardir, os.pardir,%0A   
     

enhance the logic to find 'datadir'. It's still not perfect...