configurationengine/source/plugins/symbian/ConeImagePlugin/imageplugin/__init__.py
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
    19 
    19 
    20 import pkg_resources 
    20 import pkg_resources 
    21 import sys,os
    21 import sys,os
    22 
    22 
    23 try:
    23 try:
    24   pkg_resources.require("Cone")
    24     pkg_resources.require("Cone")
    25 except pkg_resources.DistributionNotFound:
    25 except pkg_resources.DistributionNotFound:
    26   ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
    26     ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
    27   sys.path.append(ROOT_PATH)
    27     sys.path.append(ROOT_PATH)
    28   sys.path.append(os.path.join(ROOT_PATH,'..'))
    28     sys.path.append(os.path.join(ROOT_PATH,'..'))
    29   sys.path.append(os.path.join(ROOT_PATH,'../..'))
    29     sys.path.append(os.path.join(ROOT_PATH,'../..'))