configurationengine/source/plugins/common/ConeRulePlugin/ruleplugin/evals/__init__.py
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
    14 # Description: 
    14 # Description: 
    15 #
    15 #
    16 
    16 
    17 __version__ = 0.1
    17 __version__ = 0.1
    18 
    18 
    19 
       
    20 import pkg_resources 
       
    21 import sys,os
       
    22 
       
    23 try:
       
    24   pkg_resources.require("Cone")
       
    25 except pkg_resources.DistributionNotFound:
       
    26   ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
       
    27   sys.path.append(ROOT_PATH)
       
    28   sys.path.append(os.path.join(ROOT_PATH,'..'))
       
    29   sys.path.append(os.path.join(ROOT_PATH,'../..'))
       
    30   sys.path.append(os.path.join(ROOT_PATH,'../../..'))