Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPI

setuptools 19.1

pip install setuptools==19.1

Newer version available (80.9.0)

Released:

Easily download, build, install, upgrade, and uninstall Python packages

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for abravalheri from gravatar.comabravalheriAvatar for dstufft from gravatar.comdstufftAvatar for jaraco from gravatar.comjaraco

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: Python Software Foundation License, Zope Public License (PSF or ZPL)
  • Author:Python Packaging Authority
  • Tags CPAN, PyPI, distutils, eggs, package, management

Project description

Change History.

Installation Instructions

The recommended way to bootstrap setuptools on any system is to downloadez_setup.py and run it using the target Python environment. Differentoperating systems have different recommended techniques to accomplish thisbasic routine, so below are some examples to get you started.

Setuptools requires Python 2.6 or later. To install setuptoolson Python 2.4 or Python 2.5, use thebootstrap script for Setuptools 1.x.

The link provided to ez_setup.py is a bookmark to bootstrap script for thelatest known stable release.

Windows (Powershell 3 or later)

For best results, uninstall previous versions FIRST (seeUninstalling).

Using Windows 8 (which includes PowerShell 3) or earlier versions of Windowswith PowerShell 3 installed, it’s possible to install with one simplePowershell command. Start up Powershell and paste this command:

> (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python -

You must start the Powershell with Administrative privileges or you may chooseto install a user-local installation:

> (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python - --user

If you have Python 3.3 or later, you can use thepy command to install todifferent Python versions. For example, to install to Python 3.3 if you havePython 2.7 installed:

> (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | py -3 -

The recommended way to install setuptools on Windows is to downloadez_setup.py and run it. The script will download the appropriatedistribution file and install it for you.

Once installation is complete, you will find aneasy_install program inyour PythonScripts subdirectory. For simple invocation and best results,add this directory to yourPATH environment variable, if it is not alreadypresent. If you did a user-local install, theScripts subdirectory is$env:APPDATA\Python\Scripts.

Windows (simplified)

For Windows without PowerShell 3 or for installation without a command-line,downloadez_setup.py using your preferred web browser or other techniqueand “run” that file.

Unix (wget)

Most Linux distributions come with wget.

Downloadez_setup.py and run it using the target Python version. The scriptwill download the appropriate version and install it for you:

> wget https://bootstrap.pypa.io/ez_setup.py -O - | python

Note that you will may need to invoke the command with superuser privileges toinstall to the system Python:

> wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python

Alternatively, Setuptools may be installed to a user-local path:

> wget https://bootstrap.pypa.io/ez_setup.py -O - | python - --user

Note that on some older systems (noted on Debian 6 and CentOS 5 installations),wget may refuse to downloadez_setup.py, complaining that the certificate common name*.c.ssl.fastly.netdoes not match the host namebootstrap.pypa.io. In addition, theez_setup.py script may then encounter similar problems usingwget internally to downloadsetuptools-x.y.zip, complaining that the certificate common name ofwww.python.org does not match thehost namepypi.python.org. Those are known issues, related to a bug in the older versions ofwget(seeIssue 59). If you happen to encounter them,install Setuptools as follows:

> wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py> python ez_setup.py --insecure

Unix including Mac OS X (curl)

If your system has curl installed, follow thewget instructions butreplacewget withcurl and-O with-o. For example:

> curl https://bootstrap.pypa.io/ez_setup.py -o - | python

Advanced Installation

For more advanced installation options, such as installing to customlocations or prefixes, download and extract the sourcetarball fromSetuptools on PyPIand run setup.py with any supported distutils and Setuptools options.For example:

setuptools-x.x$ python setup.py install --prefix=/opt/setuptools

Use--help to get a full options list, but we recommend consultingtheEasyInstall manual for detailed instructions, especiallythe sectionon custom installation locations.

Downloads

All setuptools downloads can be found atthe project’s home page in the PythonPackage Index. Scroll to the very bottom of the page to find the links.

In addition to the PyPI downloads, the development version ofsetuptoolsis available from theBitbucket repo, and in-development versions of the0.6 branch are available as well.

Uninstalling

On Windows, if Setuptools was installed using an.exe or.msiinstaller, simply use the uninstall feature of “Add/Remove Programs” in theControl Panel.

Otherwise, to uninstall Setuptools or Distribute, regardless of the Pythonversion, delete allsetuptools* anddistribute* files anddirectories from your system’ssite-packages directory(and any othersys.path directories) FIRST.

If you are upgrading or otherwise plan to re-install Setuptools or Distribute,nothing further needs to be done. If you want to completely remove Setuptools,you may also want to remove the ‘easy_install’ and ‘easy_install-x.x’ scriptsand associated executables installed to the Python scripts directory.

Using Setuptools and EasyInstall

Here are some of the available manuals, tutorials, and other resources forlearning about Setuptools, Python Eggs, and EasyInstall:

Questions, comments, and bug reports should be directed to thedistutils-sigmailing list. If you have written (or know of) any tutorials, documentation,plug-ins, or other resources for setuptools users, please let us know aboutthem there, so this reference list can be updated. If you have working,tested patches to correct problems or add features, you may submit them tothesetuptools bug tracker.

Credits

  • The original design for the.egg format and thepkg_resources API wasco-created by Phillip Eby and Bob Ippolito. Bob also implemented the firstversion ofpkg_resources, and supplied the OS X operating system versioncompatibility algorithm.

  • Ian Bicking implemented many early “creature comfort” features ofeasy_install, including support for downloading via Sourceforge andSubversion repositories. Ian’s comments on the Web-SIG about WSGIapplication deployment also inspired the concept of “entry points” in eggs,and he has given talks at PyCon and elsewhere to inform and educate thecommunity about eggs and setuptools.

  • Jim Fulton contributed time and effort to build automated tests of variousaspects ofeasy_install, and supplied the doctests for the command-line.exe wrappers on Windows.

  • Phillip J. Eby is the seminal author of setuptools, andfirst proposed the idea of an importable binary distribution format forPython application plug-ins.

  • Significant parts of the implementation of setuptools were funded by the OpenSource Applications Foundation, to provide a plug-in infrastructure for theChandler PIM application. In addition, many OSAF staffers (such as Mike“Code Bear” Taylor) contributed their time and stress as guinea pigs for theuse of eggs and setuptools, even before eggs were “cool”. (Thanks, guys!)

  • Tarek Ziadé is the principal author of the Distribute fork, whichre-invigorated the community on the project, encouraged renewed innovation,and addressed many defects.

  • Since the merge with Distribute, Jason R. Coombs is themaintainer of setuptools. The project is maintained in coordination withthe Python Packaging Authority (PyPA) and the larger Python community.

Code of Conduct

Everyone interacting in the setuptools project’s codebases, issue trackers,chat rooms, and mailing lists is expected to follow thePyPA Code of Conduct.

Project details

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for abravalheri from gravatar.comabravalheriAvatar for dstufft from gravatar.comdstufftAvatar for jaraco from gravatar.comjaraco

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: Python Software Foundation License, Zope Public License (PSF or ZPL)
  • Author:Python Packaging Authority
  • Tags CPAN, PyPI, distutils, eggs, package, management

Release historyRelease notifications |RSS feed

This version

19.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more aboutinstalling packages.

Source Distributions

setuptools-19.1.zip (684.3 kBview details)

UploadedSource

setuptools-19.1.tar.gz (640.8 kBview details)

UploadedSource

Built Distribution

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more aboutwheel file names.

Copy a direct link to the current filters

setuptools-19.1-py2.py3-none-any.whl (463.4 kBview details)

UploadedPython 2Python 3

File details

Details for the filesetuptools-19.1.zip.

File metadata

  • Download URL:setuptools-19.1.zip
  • Upload date:
  • Size: 684.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for setuptools-19.1.zip
AlgorithmHash digest
SHA25631de0ddcb7ff666830eb0296802d8ac924138fa90bbf3cfda87d80c98426bba6
MD50ce55ef542ac94483c2f8e9cf0ccf2d5
BLAKE2b-25649a0607ab10a870efb0276f9b2592fac438a008ea7af548cdaa86e1d31676483

See more details on using hashes here.

File details

Details for the filesetuptools-19.1.tar.gz.

File metadata

  • Download URL:setuptools-19.1.tar.gz
  • Upload date:
  • Size: 640.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for setuptools-19.1.tar.gz
AlgorithmHash digest
SHA256398a64f2f36a3810103a46a7c1302cacdde5484ef1128e8f12ebef859464ea70
MD516d294018b1a12875e441fe55abd0ec9
BLAKE2b-2566280a982219d12596ae3ea8a03854b357cd5718ddb95721c00593464765cfb88

See more details on using hashes here.

File details

Details for the filesetuptools-19.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for setuptools-19.1-py2.py3-none-any.whl
AlgorithmHash digest
SHA25691839f2b15ab024ccf662b55a807eb8886ffb3430cbe5ff5ddd52e96d1f14c7f
MD5265d1c304e3976a7858d8f7000035083
BLAKE2b-256b8b9f7dadfb59d1f957bcb64c2e760fc4e1e6517e080ff23b7d02fa25c6c0f9a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security SponsorDatadog MonitoringDepot Continuous IntegrationFastly CDNGoogle Download AnalyticsPingdom MonitoringSentry Error loggingStatusPage Status page

[8]ページ先頭

©2009-2025 Movatter.jp