Skip to main content

Download, build, install, upgrade, and uninstall Python packages -- easily!

Project description

Important!

The maintainership of setuptools changed after this version - newer versions are maintained by the Python Packaging Authority, and source, bug tracker, etc. may be found at https://bitbucket.org/pypa/setuptools

If you are experiencing a problem with Distribute or with setuptools > 0.6c11, please visit that site to submit issues.

Installation Instructions

Windows

32-bit version of Python

Install setuptools using the provided .exe installer.

64-bit versions of Python

Download ez_setup.py and run it; it will download the appropriate .egg file and install it for you. (Currently, the provided .exe installer does not support 64-bit versions of Python for Windows, due to a distutils installer compatibility issue

NOTE: Regardless of what sort of Python you’re using, if you’ve previously installed older versions of setuptools, please delete all setuptools*.egg and setuptools.pth files from your system’s site-packages directory (and any other sys.path directories) FIRST.

If you are upgrading a previous version of setuptools that was installed using an .exe installer, please be sure to also uninstall that older version via your system’s “Add/Remove Programs” feature, BEFORE installing the newer version.

Once installation is complete, you will find an easy_install.exe program in your Python Scripts subdirectory. Be sure to add this directory to your PATH environment variable, if you haven’t already done so.

RPM-Based Systems

Install setuptools using the provided source RPM. The included .spec file assumes you are installing using the default python executable, and is not specific to a particular Python version. The easy_install executable will be installed to a system bin directory such as /usr/bin.

If you wish to install to a location other than the default Python installation’s default site-packages directory (and $prefix/bin for scripts), please use the .egg-based installation approach described in the following section.

Cygwin, Mac OS X, Linux, Other

  1. Download the appropriate egg for your version of Python (e.g. setuptools-0.6c9-py2.4.egg). Do NOT rename it.

  2. Run it as if it were a shell script, e.g. sh setuptools-0.6c9-py2.4.egg. Setuptools will install itself using the matching version of Python (e.g. python2.4), and will place the easy_install executable in the default location for installing Python scripts (as determined by the standard distutils configuration files, or by the Python installation).

If you want to install setuptools to somewhere other than site-packages or your default distutils installation locations for libraries and scripts, you may include EasyInstall command-line options such as --prefix, --install-dir, and so on, following the .egg filename on the same command line. For example:

sh setuptools-0.6c9-py2.4.egg --prefix=~

You can use --help to get a full options list, but we recommend consulting the EasyInstall manual for detailed instructions, especially the section on custom installation locations.

Cygwin Note

If you are trying to install setuptools for the Windows version of Python (as opposed to the Cygwin version that lives in /usr/bin), you must make sure that an appropriate executable (python2.3, python2.4, or python2.5) is on your Cygwin PATH when invoking the egg. For example, doing the following at a Cygwin bash prompt will install setuptools for the Windows Python found at C:\\Python24:

ln -s /cygdrive/c/Python24/python.exe python2.4
PATH=.:$PATH sh setuptools-0.6c9-py2.4.egg
rm python2.4

Downloads

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

In addition to the PyPI downloads, the development version of setuptools is available from the Python SVN sandbox, and in-development versions of the 0.6 branch are available as well.

Using Setuptools and EasyInstall

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

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

Credits

  • The original design for the .egg format and the pkg_resources API was co-created by Phillip Eby and Bob Ippolito. Bob also implemented the first version of pkg_resources, and supplied the OS X operating system version compatibility algorithm.

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

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

  • Phillip J. Eby is the principal author and maintainer of setuptools, and first proposed the idea of an importable binary distribution format for Python application plug-ins.

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

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

setuptools-0.6c11.zip (281.3 kB view details)

Uploaded Source

setuptools-0.6c11.tar.gz (256.9 kB view details)

Uploaded Source

Built Distributions

setuptools-0.6c11.win32-py2.7.exe (228.0 kB view details)

Uploaded Source

setuptools-0.6c11.win32-py2.6.exe (227.9 kB view details)

Uploaded Source

setuptools-0.6c11.win32-py2.5.exe (227.9 kB view details)

Uploaded Source

setuptools-0.6c11.win32-py2.4.exe (228.0 kB view details)

Uploaded Source

setuptools-0.6c11.win32-py2.3.exe (223.9 kB view details)

Uploaded Source

setuptools-0.6c11-py2.7.egg (332.0 kB view details)

Uploaded Source

setuptools-0.6c11-py2.6.egg (333.4 kB view details)

Uploaded Source

setuptools-0.6c11-py2.5.egg (333.4 kB view details)

Uploaded Source

setuptools-0.6c11-py2.4.egg (337.7 kB view details)

Uploaded Source

setuptools-0.6c11-py2.3.egg (1.1 MB view details)

Uploaded Source

setuptools-0.6c11-1.src.rpm (269.6 kB view details)

Uploaded Source

File details

Details for the file setuptools-0.6c11.zip.

File metadata

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

File hashes

Hashes for setuptools-0.6c11.zip
Algorithm Hash digest
SHA256 5133a9fa7dfe8e216d40cd49f567882ef11b33a2b451b1f285c55089bfd6eb0d
MD5 b2e133838129f1609af5ba091a36be7f
BLAKE2b-256 61f00cb5db3d39676f5b240d7bbda27da857d75d5334fb29624c9e3d52076d44

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11.tar.gz.

File metadata

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

File hashes

Hashes for setuptools-0.6c11.tar.gz
Algorithm Hash digest
SHA256 630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3
MD5 7df2a529a074f613b509fb44feefe74e
BLAKE2b-256 8b62baf1e2c2b02de7898dcacd1d1a41e323b79d25be5c88d2805c89fb424835

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11.win32-py2.7.exe.

File metadata

File hashes

Hashes for setuptools-0.6c11.win32-py2.7.exe
Algorithm Hash digest
SHA256 676d0add7ece45aaee7dddb6ecb883cb531c68f064f56376f529b47228c467eb
MD5 57e1e64f6b7c7f1d2eddfc9746bbaf20
BLAKE2b-256 1ccde68c430415ab4baefb97dea7ba14eaa68eeb47d778456ffbc1f437229660

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11.win32-py2.6.exe.

File metadata

File hashes

Hashes for setuptools-0.6c11.win32-py2.6.exe
Algorithm Hash digest
SHA256 540d31a0b6e7fe0cef4e839a2b1cdbbe7561f24a76ffba81f025076e05b918b2
MD5 1509752c3c2e64b5d0f9589aafe053dc
BLAKE2b-256 69dd153cafc26d351949ca56ae0c9259b69eeeca8dac9a5aeabe7eef8f86a311

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11.win32-py2.5.exe.

File metadata

File hashes

Hashes for setuptools-0.6c11.win32-py2.5.exe
Algorithm Hash digest
SHA256 d482794f1450fb2d0cf21c8214ce8010cb7f3c7dad2ff9e028fbc6412908d289
MD5 cb0cd7b844bed5106aeb0d4583848b1f
BLAKE2b-256 4c2923ecf8af775fa80bbc175c52e6bc4f79284579af37ac1692bbb5f8f2d61d

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11.win32-py2.4.exe.

File metadata

File hashes

Hashes for setuptools-0.6c11.win32-py2.4.exe
Algorithm Hash digest
SHA256 e6a0f330902e62bb6ac865bddf4abedc7fa7211ae84a77464e5db3a5161e967d
MD5 3b1f36f534b475724104dc08008206dd
BLAKE2b-256 8c28f3ee69ca5cd4d243f592c6045f443743904e07e8f95d7d5948198149cbaa

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11.win32-py2.3.exe.

File metadata

File hashes

Hashes for setuptools-0.6c11.win32-py2.3.exe
Algorithm Hash digest
SHA256 873625d4fa966b049aa6a567727c6c6a4cc870dae94c7544686969d6da738e41
MD5 ade86d123f1b0a259f006c860d9dc48e
BLAKE2b-256 5a2ff77682b48b0b50274bd7ab826de90521c4b7e7d8479da06030d29e015205

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11-py2.7.egg.

File metadata

File hashes

Hashes for setuptools-0.6c11-py2.7.egg
Algorithm Hash digest
SHA256 0d58908ff49d88391082f701c4baa43f1246abde920a5f91ce78edcc1aa67262
MD5 fe1f997bc722265116870bc7919059ea
BLAKE2b-256 255dcc55d39ac39383dd6e04ae80501b9af3cc455be64740ad68a4e12ec81b00

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11-py2.6.egg.

File metadata

File hashes

Hashes for setuptools-0.6c11-py2.6.egg
Algorithm Hash digest
SHA256 2260a1a7a21e05ef7b0e36b5f9e964714dc3827e83d2eabc0bdc9676deed9696
MD5 bfa92100bd772d5a213eedd356d64086
BLAKE2b-256 5336970486f83d2fdcc1b5bac53f8aab5af71b81dcbf786d887e923a9962343f

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11-py2.5.egg.

File metadata

File hashes

Hashes for setuptools-0.6c11-py2.5.egg
Algorithm Hash digest
SHA256 007173dbc9063c94dbc484c1bdab803892de1b3d98c6ae95b887d46b8e17c4c8
MD5 64c94f3bf7a72a13ec83e0b24f2749b2
BLAKE2b-256 98d3ed3bc7e3f4b143092862dab99d984261ac4be6a40d4fb1e66d2a10e9ea99

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11-py2.4.egg.

File metadata

File hashes

Hashes for setuptools-0.6c11-py2.4.egg
Algorithm Hash digest
SHA256 96c42630d2c6c8b3dd4ab9c9fa4420435ac7a56ebb5446563fe6d0caa5b42aca
MD5 bd639f9b0eac4c42497034dec2ec0c2b
BLAKE2b-256 f05d2edc5f4af10151e80251678f7a7c5130578b16116e2f31e03bf75459bb7f

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11-py2.3.egg.

File metadata

File hashes

Hashes for setuptools-0.6c11-py2.3.egg
Algorithm Hash digest
SHA256 8f7ea574a775d5f6ef36846374dd97708384f87ade005d6e9374f10738264ed4
MD5 2baeac6e13d414a9d28e7ba5b5a596de
BLAKE2b-256 7068bbf97a2f73e8253a87ff7d1b73c94e1bf0bf1900ed8e5fd7bf98180f4483

See more details on using hashes here.

File details

Details for the file setuptools-0.6c11-1.src.rpm.

File metadata

File hashes

Hashes for setuptools-0.6c11-1.src.rpm
Algorithm Hash digest
SHA256 90910d56c99159563080625c82d95d4c9b1c38c18fdddd2a88e75332e23c6ec1
MD5 27a3fe3a4973c0cc97534bc9e9720c3d
BLAKE2b-256 1eb7a4639da3c762e3162b23b439ed8d91076499464dce2f35e4826d1e2b3559

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page