setup.py
def get_lookup():
    '''get version by way of sregistry.version, returns a 
    lookup dictionary with several global variables without
    needing to import singularity
    '''
    lookup = dict()
    version_file = os.path.join('sregistry', 'version.py')
    with open(version_file) as filey:
        exec(filey.read(), lookup)
    return lookup
def get_lookup():
    '''get version by way of sregistry.version, returns a 
    lookup dictionary with several global variables without
    needing to import singularity
    '''
    lookup = dict()
    version_file = os.path.join('sregistry', 'version.py')
    with open(version_file) as filey:
        exec(filey.read(), lookup)
    return lookup
def get_lookup ( ) : lookup = dict ( ) version_file = os . path . join ( 'sregistry' , 'version.py' ) with open ( version_file ) as filey : exec ( filey . read ( ) , lookup ) return lookup
get version by way of sregistry.version, returns a 
    lookup dictionary with several global variables without
    needing to import singularity
get version by way of sregistry . version returns a lookup dictionary with several global variables without needing to import singularity