Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/e/a/easybuild-easyblocks-1.12.1/setup.py   easybuild-easyblocks(Download)
 
sys.path.append('easybuild')
from easyblocks import VERSION
 
API_VERSION = str(VERSION).split('.')[0]
suff = ''
 
rc_regexp = re.compile("^.*(rc[0-9]*)$")
res = rc_regexp.search(str(VERSION))
    suff = res.group(1)
dev_regexp = re.compile("^.*[0-9]dev$")
if dev_regexp.match(str(VERSION)):
    suff = 'dev'
 
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
log.info("Installing version %s (required versions: API >= %s)" % (VERSION, API_VERSION))
 
setup(
    name = "easybuild-easyblocks",
    version = str(VERSION),

src/e/a/easybuild-easyblocks-HEAD/setup.py   easybuild-easyblocks(Download)
 
sys.path.append('easybuild')
from easyblocks import VERSION
 
API_VERSION = str(VERSION).split('.')[0]
suff = ''
 
rc_regexp = re.compile("^.*(rc[0-9]*)$")
res = rc_regexp.search(str(VERSION))
    suff = res.group(1)
dev_regexp = re.compile("^.*[0-9]dev$")
if dev_regexp.match(str(VERSION)):
    suff = 'dev'
 
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
log.info("Installing version %s (required versions: API >= %s)" % (VERSION, API_VERSION))
 
setup(
    name = "easybuild-easyblocks",
    version = str(VERSION),