Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
œèRc@sÞddlZddlZddlZddlZddlmZmZmZddlm	Z	ddl
mZmZm
Z
ddlmZddlmZddlmZmZmZddlmZd	efd
„ƒYZdS(iÿÿÿÿN(tInstallRequirementtRequirementSettparse_requirements(tlogger(t
src_prefixtvirtualenv_no_globaltdistutils_scheme(tCommand(t
PackageFinder(tInstallationErrortCommandErrortPreviousBuildDirError(t
cmdoptionstInstallCommandcBsAeZdZdZdZdZeZd„Zd„Z	d„Z
RS(sª
    Install packages from:

    - PyPI (and other indexes) using requirement specifiers.
    - VCS project urls.
    - Local project directories.
    - Local or remote source archives.

    pip also supports installing from "requirements files", which provide
    an easy way to specify a whole environment to be installed.

    See http://www.pip-installer.org for details on VCS url formats and
    requirements files.
    tinstallsõ
      %prog [options] <requirement specifier> ...
      %prog [options] -r <requirements file> ...
      %prog [options] [-e] <vcs project url> ...
      %prog [options] [-e] <local project path> ...
      %prog [options] <archive url/path> ...sInstall packages.c
Os¹tt|ƒj||Ž|j}|jdddddddgdd	d
dƒ|jtjƒ|jtjƒ|jdd
ddddddd
dƒ|jddddddddddd
dƒ|jtj	ƒ|jdddddddddt
d
dƒ|jdddddd d
d!ƒ|jd"dd#dd d
d$ƒ|jd%d&dd'dd d
d(ƒ|jtjƒ|jd)dd*dd d
d+ƒ|jd,dd-dd d
d.ƒ|jtjƒ|jtj
ƒ|jd/dd0dd d
d1ƒ|jd2dd3dd d
d4ƒ|jd5dd6ddddd
d7ƒ|jtjƒ|jd8dd dtd
d9ƒ|jtjƒtjtj|jƒ}|jjd:|ƒ|jjd:|ƒdS(;Ns-es
--editabletdestt	editablestactiontappendtdefaulttmetavarspath/urlthelpskInstall a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url.s-ts--targett
target_dirtdirsInstall packages into <dir>.s-ds
--downloads--download-dirs--download-directorytdownload_dirs`Download packages into <dir> instead of installing them, regardless of what's already installed.s--srcs--sources--source-dirs--source-directorytsrc_dirs˜Directory to check out editable projects into. The default in a virtualenv is "<venv path>/src". The default for global installs is "<current dir>/src".s-Us	--upgradetupgradet
store_truesˆUpgrade all packages to the newest available version. This process is recursive regardless of whether a dependency is already satisfied.s--force-reinstalltforce_reinstallsKWhen upgrading, reinstall all packages even if they are already up-to-date.s-Is--ignore-installedtignore_installeds5Ignore the installed packages (reinstalling instead).s--no-installt
no_installsBDownload and unpack all packages, but don't actually install them.s
--no-downloadtno_downloadssDon't download any packages, just install the ones already downloaded (completes an install run with --no-install).s--usert
use_user_sitesInstall using the user scheme.s--eggtas_eggs;Install as self contained egg file, like easy_install does.s--roott	root_paths=Install everything relative to this alternate root directory.s--presYInclude pre-release and development versions. By default, pip only finds stable versions.i(tsuperR
t__init__tcmd_optst
add_optionRtrequirementst	build_dirtNonetdownload_cacheRtno_depstinstall_optionstglobal_optionst	use_wheeltFalsetno_cleantmake_option_grouptindex_grouptparsertinsert_option_group(tselftargstkwR%t
index_opts((sI/home/tvault/.virtenv/lib/python2.7/site-packages/pip/commands/install.pyR$)s¨					cCs^td|jd|d|jd|jd|jd|jd|jd|jd	|jd
|j	ƒ
S(s¨
        Create a package finder appropriate to this install command.
        This method is meant to be overridden by subclasses, not
        called directly.
        t
find_linkst
index_urlstuse_mirrorstmirrorsR.tallow_externaltallow_insecuretallow_all_externaltallow_all_insecuretallow_all_prereleases(
RR9R;R<R.R=R>R?R@tpre(R5toptionsR:((sI/home/tvault/.virtenv/lib/python2.7/site-packages/pip/commands/install.pyt_build_package_finderšs							cCs|jrt|_t|_ntjj|jƒ|_tjj|jƒ|_|j	pZg}|j
rŽtƒr~tdƒ‚n|j
dƒnd}|jrt|_tjƒ}tjj|jƒ|_tjj|jƒrtjj|jƒrtdƒ‚n|j
d|ƒn|jp$g}|jg|j}|jrftjddj|ƒƒg}n|j||ƒ}td|jd|jd	|jd
|jd|jd|j d
|jd|j!d|j"d|j
d|ƒ}x'|D]}	|j#t$j%|	dƒƒqèWx0|j&D]%}	|j#t$j'|	d|j(ƒƒqWxA|j)D]6}
x-t*|
d|d|ƒD]}|j#|ƒqgWqHW|j+säi|j,d6}|j-rÉdt.|ddj|j-ƒƒ}
n
d|}
tj/|
ƒdSzBy)|j0s|j1|d|j2d|j2ƒn
|j3ƒ|jr‘|j2r‘|j4||d|j5ƒdjg|j6D]}|j,^q\ƒ}|rtjd|ƒqn~|j2sßdjg|j7D]}|j,^qªƒ}|rtjd|ƒqn0|j2r|j8|j9ƒtjd|j9ƒnWnt:k
r$dSXWd|j;r\|jsF|jr\|j<d|j2ƒnX|jrÿtjj|jƒsŽtj=|jƒnt>d d!|ƒd"}xHtj?|ƒD]7}t@jAtjj||ƒtjj|j|ƒƒq´Wt@jB|ƒn|S(#NsZCan not perform a '--user' install. User site-packages are not visible in this virtualenv.s--users=Target path exists but is not a directory, will not continue.s--home=sIgnoring indexes: %st,R(RRR*RR!Rtignore_dependenciesRR Rtdefault_vcstfinderRCtnames^You must give at least one requirement to %(name)s (maybe you meant "pip %(name)s %(links)s"?)tlinkst sLYou must give at least one requirement to %(name)s (see "pip help %(name)s")tforce_root_egg_infotbundletrootsSuccessfully installed %ssSuccessfully downloaded %ssCreated bundle in %stthometpurelib(CRtTrueRRtostpathtabspathR(RR,R RR	RR)RttempfiletmkdtemptexiststisdirR
R-t	index_urltextra_index_urlstno_indexRtnotifytjoinRDRR*RR!RFRtadd_requirementRt	from_lineRt
from_editableRGR'Rthas_requirementsRIR9tdicttwarnRt
prepare_filesRMtlocate_filesRR"tsuccessfully_installedtsuccessfully_downloadedt
create_bundletbundle_filenameRR0t
cleanup_filestmakedirsRtlistdirtshutiltmovetrmtree(R5RCR6R,ttemp_target_dirR-R:RHtrequirement_setRItfilenametreqtoptstmsgt	installedt
downloadedtlib_dirtitem((sI/home/tvault/.virtenv/lib/python2.7/site-packages/pip/commands/install.pytrun¬s®						+													
		"
	"
				
		(t__name__t
__module__t__doc__RItusagetsummaryR/RMR$RDR{(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/pip/commands/install.pyR
s	q	(RStsysRVRntpip.reqRRRtpip.logRt
pip.locationsRRRtpip.basecommandRt	pip.indexRtpip.exceptionsR	R
RtpipRR
(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/pip/commands/install.pyt<module>s