Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)
Gives the pippy home directory

It is searched for at ~/.pippy or can be specified by the PIPPY_HOME
environment variable

        def pippy_home():
    """Gives the pippy home directory
    
    It is searched for at ~/.pippy or can be specified by the PIPPY_HOME
    environment variable
    """
    return os.environ.get('PIPPY_HOME', os.path.expanduser('~/.pippy'))
        


src/p/i/pippy-0.1.0/pippy/req.py   pippy(Download)
from utils import *
from finder import *
from config import pippy_home
 
PIP_DELETE_MARKER_FILENAME = 'pip-delete-this-directory.txt'
 
def run_build(req, req_version, link, location):
    build_cache_path = build_path(pippy_home(), req.name, req_version)
def cache_download(req, req_version, link, location):
    # Does the current requirement exist in the 
    # Build the directory
    source_cache_path = source_path(pippy_home(), req.name, req_version)
    if not os.path.exists(source_cache_path):

src/p/i/pippy-0.1.0/pippy/finder.py   pippy(Download)
from pip.log import logger
from utils import get_implementation, get_python_version_str
from config import pippy_home
 
SOURCE_PATH = 'src'
    def cache_path(self):
        return pippy_home()
 
def make_filename(name, version):
    filename = '%s-%s%s' % (name, version, EXTENSION)