Python - setuptools
Jump to navigation
Jump to search
Installing setuptools and pip
$ wget https://bootstrap.pypa.io/ez_setup.py --2016-06-06 18:44:38-- https://bootstrap.pypa.io/ez_setup.py Resolving bootstrap.pypa.io (bootstrap.pypa.io)... 103.245.222.175 Connecting to bootstrap.pypa.io (bootstrap.pypa.io)|103.245.222.175|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 12402 (12K) [text/x-python] Saving to: ‘ez_setup.py’ ez_setup.py 100%[=================================================>] 12.11K --.-KB/s in 0.003s 2016-06-06 18:44:39 (4.50 MB/s) - ‘ez_setup.py’ saved [12402/12402] $ chmod +x ./ez_setup.py $ ./ez_setup.py Downloading https://pypi.io/packages/source/s/setuptools/setuptools-22.0.5.zip Extracting in /tmp/tmp4er4T0 Now working in /tmp/tmp4er4T0/setuptools-22.0.5 Installing Setuptools running install running bdist_egg running egg_info writing requirements to setuptools.egg-info/requires.txt writing setuptools.egg-info/PKG-INFO writing top-level names to setuptools.egg-info/top_level.txt writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt reading manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'setuptools/_vendor' writing manifest file 'setuptools.egg-info/SOURCES.txt' installing library code to build/bdist.cygwin-2.5.1-x86_64/egg running install_lib running build_py creating build creating build/lib copying easy_install.py -> build/lib creating build/lib/pkg_resources copying pkg_resources/__init__.py -> build/lib/pkg_resources creating build/lib/setuptools copying setuptools/archive_util.py -> build/lib/setuptools copying setuptools/depends.py -> build/lib/setuptools copying setuptools/dist.py -> build/lib/setuptools copying setuptools/extension.py -> build/lib/setuptools copying setuptools/launch.py -> build/lib/setuptools copying setuptools/lib2to3_ex.py -> build/lib/setuptools copying setuptools/msvc9_support.py -> build/lib/setuptools copying setuptools/package_index.py -> build/lib/setuptools copying setuptools/py26compat.py -> build/lib/setuptools copying setuptools/py27compat.py -> build/lib/setuptools copying setuptools/py31compat.py -> build/lib/setuptools copying setuptools/sandbox.py -> build/lib/setuptools copying setuptools/site-patch.py -> build/lib/setuptools copying setuptools/ssl_support.py -> build/lib/setuptools copying setuptools/unicode_utils.py -> build/lib/setuptools copying setuptools/utils.py -> build/lib/setuptools copying setuptools/version.py -> build/lib/setuptools copying setuptools/windows_support.py -> build/lib/setuptools copying setuptools/__init__.py -> build/lib/setuptools creating build/lib/pkg_resources/extern copying pkg_resources/extern/__init__.py -> build/lib/pkg_resources/extern creating build/lib/pkg_resources/_vendor copying pkg_resources/_vendor/pyparsing.py -> build/lib/pkg_resources/_vendor copying pkg_resources/_vendor/six.py -> build/lib/pkg_resources/_vendor copying pkg_resources/_vendor/__init__.py -> build/lib/pkg_resources/_vendor creating build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/markers.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/requirements.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/specifiers.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/utils.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/version.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/_compat.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/_structures.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/__about__.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/__init__.py -> build/lib/pkg_resources/_vendor/packaging creating build/lib/setuptools/command copying setuptools/command/alias.py -> build/lib/setuptools/command copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command copying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command copying setuptools/command/build_ext.py -> build/lib/setuptools/command copying setuptools/command/build_py.py -> build/lib/setuptools/command copying setuptools/command/develop.py -> build/lib/setuptools/command copying setuptools/command/easy_install.py -> build/lib/setuptools/command copying setuptools/command/egg_info.py -> build/lib/setuptools/command copying setuptools/command/install.py -> build/lib/setuptools/command copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command copying setuptools/command/install_lib.py -> build/lib/setuptools/command copying setuptools/command/install_scripts.py -> build/lib/setuptools/command copying setuptools/command/register.py -> build/lib/setuptools/command copying setuptools/command/rotate.py -> build/lib/setuptools/command copying setuptools/command/saveopts.py -> build/lib/setuptools/command copying setuptools/command/sdist.py -> build/lib/setuptools/command copying setuptools/command/setopt.py -> build/lib/setuptools/command copying setuptools/command/test.py -> build/lib/setuptools/command copying setuptools/command/upload.py -> build/lib/setuptools/command copying setuptools/command/upload_docs.py -> build/lib/setuptools/command copying setuptools/command/__init__.py -> build/lib/setuptools/command creating build/lib/setuptools/extern copying setuptools/extern/__init__.py -> build/lib/setuptools/extern copying setuptools/script (dev).tmpl -> build/lib/setuptools copying setuptools/script.tmpl -> build/lib/setuptools creating build/bdist.cygwin-2.5.1-x86_64 creating build/bdist.cygwin-2.5.1-x86_64/egg copying build/lib/easy_install.py -> build/bdist.cygwin-2.5.1-x86_64/egg creating build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources creating build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/extern copying build/lib/pkg_resources/extern/__init__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/extern creating build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor creating build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/markers.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/requirements.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/specifiers.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/utils.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/version.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/_compat.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/_structures.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/__about__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/__init__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/pyparsing.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor copying build/lib/pkg_resources/_vendor/six.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor copying build/lib/pkg_resources/_vendor/__init__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor copying build/lib/pkg_resources/__init__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources creating build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/archive_util.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools creating build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/alias.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/bdist_wininst.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/build_ext.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/build_py.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/develop.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/easy_install.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/egg_info.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/install.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/install_lib.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/install_scripts.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/register.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/rotate.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/saveopts.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/sdist.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/setopt.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/test.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/upload.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/upload_docs.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/command/__init__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/command copying build/lib/setuptools/depends.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/dist.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/extension.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools creating build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/extern copying build/lib/setuptools/extern/__init__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/extern copying build/lib/setuptools/launch.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/lib2to3_ex.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/msvc9_support.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/package_index.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/py26compat.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/py27compat.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/py31compat.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/sandbox.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/script (dev).tmpl -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/script.tmpl -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/site-patch.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/ssl_support.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/unicode_utils.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/utils.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/version.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/windows_support.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools copying build/lib/setuptools/__init__.py -> build/bdist.cygwin-2.5.1-x86_64/egg/setuptools byte-compiling build/bdist.cygwin-2.5.1-x86_64/egg/easy_install.py to easy_install.pyc byte-compiling build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/extern/__init__.py to __init__.pyc byte-compiling build/bdist.cygwin-2.5.1-x86_64/egg/pkg_resources/_vendor/packaging/markers.py to markers.pyc ... byte-compiling build/bdist.cygwin-2.5.1-x86_64/egg/setuptools/__init__.py to __init__.pyc creating build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO copying setuptools.egg-info/PKG-INFO -> build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO copying setuptools.egg-info/SOURCES.txt -> build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO copying setuptools.egg-info/dependency_links.txt -> build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO copying setuptools.egg-info/entry_points.txt -> build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO copying setuptools.egg-info/requires.txt -> build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO copying setuptools.egg-info/top_level.txt -> build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO copying setuptools.egg-info/zip-safe -> build/bdist.cygwin-2.5.1-x86_64/egg/EGG-INFO creating dist creating 'dist/setuptools-22.0.5-py2.7.egg' and adding 'build/bdist.cygwin-2.5.1-x86_64/egg' to it removing 'build/bdist.cygwin-2.5.1-x86_64/egg' (and everything under it) Processing setuptools-22.0.5-py2.7.egg Copying setuptools-22.0.5-py2.7.egg to /usr/lib/python2.7/site-packages Adding setuptools 22.0.5 to easy-install.pth file Installing easy_install script to /usr/bin Installing easy_install-2.7 script to /usr/bin Installed /usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg Processing dependencies for setuptools==22.0.5 Finished processing dependencies for setuptools==22.0.5 $ easy_install pip Searching for pip Best match: pip 8.1.1 Adding pip 8.1.1 to easy-install.pth file Installing pip script to /usr/bin Installing pip3.5 script to /usr/bin Installing pip3 script to /usr/bin Using /usr/lib/python2.7/site-packages Processing dependencies for pip Finished processing dependencies for pip
Other
$ sh setuptools-0.6c11-py2.6.egg Processing setuptools-0.6c11-py2.6.egg Copying setuptools-0.6c11-py2.6.egg to /usr/lib/python2.6/site-packages Adding setuptools 0.6c11 to easy-install.pth file Installing easy_install script to /usr/bin Installing easy_install-2.6 script to /usr/bin Installed /usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg Processing dependencies for setuptools==0.6c11 Finished processing dependencies for setuptools==0.6c11 $ easy_install pip Searching for pip Reading http://pypi.python.org/simple/pip/ Reading http://www.pip-installer.org Reading http://pip.openplans.org Best match: pip 1.0.2 Downloading http://pypi.python.org/packages/source/p/pip/pip-1.0.2.tar.gz#md5=47ec6ff3f6d962696fe08d4c8264ad49 Processing pip-1.0.2.tar.gz Running pip-1.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-qJJuzo/pip-1.0.2/egg-dist-tmp-QQI4ww warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.txt' found under directory 'docs/_build' no previously-included directories found matching 'docs/_build/_sources' Adding pip 1.0.2 to easy-install.pth file Installing pip script to /usr/bin Installing pip-2.6 script to /usr/bin Installed /usr/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg Processing dependencies for pip Finished processing dependencies for pip
Both seemed to install OK on Cygwin.