Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/g/0/g-pypi-0.3/gpypi/sdist_ebuild.py   g-pypi(Download)
    def run(self):
        """"""
        # late import because of setup.py
        from gpypi.enamer import Enamer
        from gpypi.ebuild import Ebuild
        mgr.configs['argparse'] = Config(self.argparse_config)
        mgr.configs['setup_py'] = Config.from_setup_py(Enamer.parse_setup_py(self.distribution))
        ebuild = Ebuild(mgr)
        ebuild.unpacked_dir = os.getcwd()
        to = os.path.join(self.dist_dir, ebuild['p'] + '.ebuild')

src/g/0/g-pypi-HEAD/gpypi/sdist_ebuild.py   g-pypi(Download)
    def run(self):
        """"""
        # late import because of setup.py
        from gpypi.enamer import Enamer
        from gpypi.ebuild import Ebuild
        mgr.configs['argparse'] = Config(self.argparse_config)
        mgr.configs['setup_py'] = Config.from_setup_py(Enamer.parse_setup_py(self.distribution))
        ebuild = Ebuild(mgr)
        ebuild.unpacked_dir = os.getcwd()
        to = os.path.join(self.dist_dir, ebuild['p'] + '.ebuild')

src/g/0/g-pypi-0.3/gpypi/cli.py   g-pypi(Download)
from gpypi.enamer import Enamer
from gpypi.config import Config, ConfigManager
from gpypi.ebuild import Ebuild
from gpypi.portage_utils import PortageUtils
from gpypi.utils import PortageFormatter, PortageStreamHandler
        self.options.configs['argparse']['up_pv'] = self.version
 
        ebuild = Ebuild(self.options)
        ebuild.set_metadata(self.query_metadata())
 

src/g/0/g-pypi-HEAD/gpypi/cli.py   g-pypi(Download)
from gpypi.enamer import Enamer
from gpypi.config import Config, ConfigManager
from gpypi.ebuild import Ebuild
from gpypi.portage_utils import PortageUtils
from gpypi.utils import PortageFormatter, PortageStreamHandler
        self.options.configs['argparse']['up_pv'] = self.version
 
        ebuild = Ebuild(self.options)
        ebuild.set_metadata(self.query_metadata())