ó `8(Zc @@sĖddlmZddlZddlZddlZddlmZddlmZddl m Z ddl m Z ddl mZddlmZejeƒZddddddedd d „ ZdS( i(tabsolute_importN(tInstallRequirement(t COMMENT_RE(tget_installed_distributions(t pkg_resources(tcanonicalize_name(tRequirementParseErrorc c@s„|p g}d} |r-tj|ƒj} ng} x9tjD].} | jdƒr=| j| jdƒƒq=q=Wx*|D]"} d| krv| j | ƒqvqvWx|D]} d| Vq£Wi} xst d|dd#d|ƒD]V} yt j j | | ƒ}Wn'tk r tjd| jƒqŲnX|| |j‚s(( s-rs --requirements-Zs--always-unzips-fs --find-linkss-is --index-urls--pres--trusted-hosts--process-dependency-linkss--extra-index-url(%tNonetretcompiletsearchRt working_sett has_metadatatextendtget_metadata_linestappendRtpiptFrozenRequirementt from_distRtloggertwarningt project_nameRtsettopentstript startswithtrstriptaddtlentlstripRt from_editablet from_lineRtsubtinfotstrtsortedtvaluesR(t requirementt find_linksRR t skip_regexR R RRt skip_matchtdependency_linkstdisttlinkt installationstreqtemitted_optionst req_file_pathtreq_filetlinetline_reqt installation((s2/tmp/pip-build-0nEYGB/pip/pip/operations/freeze.pytfreezes                       ((t __future__RtloggingRRtpip.reqRtpip.req.req_fileRt pip.utilsRt pip._vendorRtpip._vendor.packaging.utilsRtpip._vendor.pkg_resourcesRt getLoggert__name__R!RtFalseRB(((s2/tmp/pip-build-0nEYGB/pip/pip/operations/freeze.pyts