;ò V3ÙBc@s€dZdZdZdkZdkZeeeid„Zeeeid„Zed„Ze djoeei dƒndS( s Bootstrap setuptools installation If you want to use setuptools in your package's setup.py, just include this file in the same directory with it, and add this to the top of your setup.py:: from ez_setup import use_setuptools use_setuptools() If you want to require a specific version of setuptools, set a download mirror, or use an alternate download directory, you can do so by supplying the appropriate options to ``use_setuptools()``. This file can also be run as a script to install or upgrade setuptools. s0.5a13s3http://www.python.org/packages/source/s/setuptools/NcCsáy;dk}|idjotidIJtidƒnWnJtj o>t|||ƒ}ti i d|ƒdk}||_ nXdk}y|id|ƒWn4|ij o%tid|IJtidƒnXdS(sAutomatically find/download setuptools and make it available on sys.path `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where setuptools will be downloaded, if it is not already available. If an older version of setuptools is installed, this will print a message to ``sys.stderr`` and raise SystemExit in an attempt to abort the calling script. Ns0.0.1sYou have an obsolete version of setuptools installed. Please remove it from your system entirely before rerunning this script.iis setuptools>=sThe required version of setuptools (>=%s) is not available, and can't be installed while this script is running. Please install a more recent version first.(s setuptoolss __version__ssyssstderrsexits ImportErrorsdownload_setuptoolssversions download_basesto_dirseggspathsinsertsbootstrap_install_froms pkg_resourcessrequiresVersionConflict(sversions download_basesto_dirs pkg_resourcess setuptoolssegg((s`/mnt/gmirror/ports/devel/py-protocols-devel/work/PyProtocols-1.0a0dev_r2082/ez_setup/__init__.pysuse_setuptools*s    c Csdk}dk} d|tid f} || d}tii || ƒ} t }}tii| ƒ oŠzXdkl}|id|ƒ|i|ƒ}|iƒ}t| dƒ}|i|ƒWd|o|iƒn|o|iƒnXntii| ƒSdS(s/Download setuptools from a specified location and return its filename `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where the egg will be downloaded. Nssetuptools-%s-py%s.eggis.zip(slogsDownloading %sswb(surllib2sshutilsversionssyssegg_names download_basesurlsosspathsjoinsto_dirssavetosNonessrcsdstsexistss distutilsslogswarnsurlopensreadsdatasopenswritesclosesrealpath( sversions download_basesto_dirssrcslogsurlsdatasdstsurllib2ssavetosshutilsegg_name((s`/mnt/gmirror/ports/devel/py-protocols-devel/work/PyProtocols-1.0a0dev_r2082/ez_setup/__init__.pysdownload_setuptoolsSs(   c Cs“y dk}Wn•tj o‰dk}dk}|iddƒ} zMt|d| ƒ}t i i d|ƒdk l }|t|ƒ|gƒWd|i| ƒXn X|idjot|ƒnd|}dk}y|i|ƒWnq|ij obydk l }Wn tj odkl }nX|t|ƒtƒgƒt idƒn6X|odk l }||ƒnd G|Gd GHd GHdS( s-Install or upgrade setuptools and EasyInstallNsprefixs easy_install-sto_diri(smains0.0.1s setuptools>=sSetuptools versionsor greater has been installed.s:(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)(s setuptoolss ImportErrorstempfilesshutilsmkdtempstmpdirsdownload_setuptoolssversionseggssysspathsinsertssetuptools.command.easy_installsmainslistsargvsrmtrees __version__suse_setuptoolssreqs pkg_resourcessrequiresVersionConflicts easy_installsexit( sargvsversionsmainsreqs pkg_resourcesstempfiles setuptoolssshutilseggstmpdir((s`/mnt/gmirror/ports/devel/py-protocols-devel/work/PyProtocols-1.0a0dev_r2082/ez_setup/__init__.pysmain|s>      s__main__i( s__doc__sDEFAULT_VERSIONs DEFAULT_URLssyssosscurdirsuse_setuptoolssdownload_setuptoolssmains__name__sargv(sDEFAULT_VERSIONssyss DEFAULT_URLsdownload_setuptoolssmainsossuse_setuptools((s`/mnt/gmirror/ports/devel/py-protocols-devel/work/PyProtocols-1.0a0dev_r2082/ez_setup/__init__.pys?s)) &