Did I find the right examples for you? yes no

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

src/a/p/appomatic-HEAD/appomatic_appadmin/appomatic_appadmin/utils/app.py   appomatic(Download)
import distutils.version
import os.path
import pip.req
import pip.locations
import pip.index

src/g/p/gp.vcsdevelop-2.2.3/gp/vcsdevelop/__init__.py   gp.vcsdevelop(Download)
    sys.path.insert(0, temp_dir)
 
    import pip, pip.index, pip.req, pip.vcs
 
    pip.version_control()

src/a/p/appomatic_appadmin-0.0.30/appomatic_appadmin/utils/app.py   appomatic_appadmin(Download)
import distutils.version
import os.path
import pip.req
import pip.locations
import pip.index

src/c/h/cheese-freezer-0.0.3/cheese_freezer/__init__.py   cheese-freezer(Download)
from pip import req as pip_req, index, log as pip_log
from pip.vcs import (git, mercurial, subversion, bazaar)
 
import argparse
import tempfile

src/c/h/cheese-freezer-HEAD/cheese_freezer/__init__.py   cheese-freezer(Download)
from pip import req as pip_req, index, log as pip_log
from pip.vcs import (git, mercurial, subversion, bazaar)
 
import argparse
import tempfile

src/p/k/pkglib-HEAD/pkglib/pkglib/setuptools/command/pyuninstall.py   pkglib(Download)
def patch_UninstallPathSet(egg_caches, install_dir):
    # pip uninstall doesn't realise that you can remove an entry from the virtualenv
    # easy-install.pth file even if the egg itself is outside the virtualenv i.e. in
    # the egg cache.  Fix it by adjusting the pth file and entry.
    from pip import req
        with pip_logging_to_distutils_log():
            # Lazy imports here to allow pkglib to bootstrap itself.
            from pip import req, exceptions
 
            rs = req.RequirementSet(build_dir=None, src_dir=None, download_dir=None)

src/p/i/pippy-0.1.0/pippy/req.py   pippy(Download)
                          unpack_vcs_link, is_vcs_url, is_file_url,
                          unpack_file_url, unpack_http_url)
from pip import req
from pip.req import *
from utils import *

src/p/i/pippy-0.1.0/pippy/runner.py   pippy(Download)
import sys
import argparse
from pip import version_control
from pip import req
from pip.commands import install

src/a/n/anvil-HEAD/anvil/packaging/helpers/pip_helper.py   anvil(Download)
import re
 
from pip import req as pip_req
from pip import util as pip_util
 

src/o/r/Orange-2.7.2/Orange/utils/addons.py   Orange(Download)
def uninstall(name, progress_callback=None):
    try:
        import pip.req
        ao = pip.req.InstallRequirement(name, None)
        ao.uninstall(True)

  1 | 2 | 3  Next