Example #1
0
def resolve(id, op=bundle.GreaterThan, version="0.0.0", remote=True, local=True):
	logging.info('Resolving %s %s %s' % (id,op,version))
	resolver = Resolver(id,op,version)
	resolver.resolve(remote,local)
	return resolver.resolution
Example #2
0
def fetchDependency(id, op=bundle.GreaterThan, version="0.0.0", repository=localRepository):
	logging.info("Finding %s %s %s" % (id,op,version))
	resolver = Resolver(id, op, version)
	resolver.resolve()
	return resolver.fetch(repository)