Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPI

setuptools 24.0.3

pip install setuptools==24.0.3

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

Project description

https://setuptools.readthedocs.io/en/latest/?badge=latest

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 -
Join the chat at https://gitter.im/pypa/setuptools

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

Release historyRelease notifications |RSS feed

Download files

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

Source Distributions

setuptools-24.0.3.zip (655.3 kBview details)

UploadedSource

setuptools-24.0.3.tar.gz (608.6 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-24.0.3-py2.py3-none-any.whl (441.8 kBview details)

UploadedPython 2Python 3

File details

Details for the filesetuptools-24.0.3.zip.

File metadata

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

File hashes

Hashes for setuptools-24.0.3.zip
AlgorithmHash digest
SHA256989cf21f150c15b3c492efa28e59d09284dd6804111c22a6a446c6698870a573
MD52bfee18ad4305bbacb0cdb452bc5153d
BLAKE2b-256fed119813ec0d7966829b0f3fb2a975706e19c475251142e683d7a15660b180c

See more details on using hashes here.

File details

Details for the filesetuptools-24.0.3.tar.gz.

File metadata

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

File hashes

Hashes for setuptools-24.0.3.tar.gz
AlgorithmHash digest
SHA256396b12411705a03a511fabe94fb0a2eb06671efc83f2cef46a7ee497a4314b67
MD581e9117c3f1ff0c9092abe8795c3e487
BLAKE2b-2568424610d8bb87219ed6d0928018b7b35ac6f6f6ef27a71ed6a2d0cfb68200f65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-24.0.3-py2.py3-none-any.whl
AlgorithmHash digest
SHA2562c215f4d49eee249b734e6f44499262110f60118cd4055aeed7fd6f03602aad3
MD5fadc645c94cee2a1c4a034d9e184cf06
BLAKE2b-256771daa9cee9843393165388ae2d764e811c42f995d9a493ec27354d8c9638216

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