setuptools 24.0.3
pip install setuptools==24.0.3
Released:
Easily download, build, install, upgrade, and uninstall Python packages
Navigation
Unverified details
These details havenot been verified by PyPIProject links
Meta
- License: MIT License
- Author:Python Packaging Authority
- Tags CPAN, PyPI, distutils, eggs, package, management
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
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
Unverified details
These details havenot been verified by PyPIProject links
Meta
- License: MIT License
- Author:Python Packaging Authority
- Tags CPAN, PyPI, distutils, eggs, package, management
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 989cf21f150c15b3c492efa28e59d09284dd6804111c22a6a446c6698870a573 | |
| MD5 | 2bfee18ad4305bbacb0cdb452bc5153d | |
| BLAKE2b-256 | fed119813ec0d7966829b0f3fb2a975706e19c475251142e683d7a15660b180c |
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 396b12411705a03a511fabe94fb0a2eb06671efc83f2cef46a7ee497a4314b67 | |
| MD5 | 81e9117c3f1ff0c9092abe8795c3e487 | |
| BLAKE2b-256 | 8424610d8bb87219ed6d0928018b7b35ac6f6f6ef27a71ed6a2d0cfb68200f65 |
File details
Details for the filesetuptools-24.0.3-py2.py3-none-any.whl.
File metadata
- Download URL:setuptools-24.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 441.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 2c215f4d49eee249b734e6f44499262110f60118cd4055aeed7fd6f03602aad3 | |
| MD5 | fadc645c94cee2a1c4a034d9e184cf06 | |
| BLAKE2b-256 | 771daa9cee9843393165388ae2d764e811c42f995d9a493ec27354d8c9638216 |