Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

        def _run_setup(*args):
    old_args = sys.argv
    sys.argv = [sys.argv[0]] + list(args)
    __import__('setup')
    del sys.modules['setup']
    sys.argv = old_args
        


src/i/w/iw.releaser-0.4.1/iw/releaser/hook.py   iw.releaser(Download)
from zc.buildout.buildout import _recipe
from iw.releaser import config
from iw.releaser.packet import _run_setup
 
ENTRY_POINT = 'release_hook'
        # make sure our setup is the first in sys.path
        sys.path.insert(0, os.getcwd())
        _run_setup('egg_info')
    else:
        raise pkg_resources.DistributionNotFound(