Skip to main content

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

Project description

Installation Instructions

Windows

Install setuptools using the provided .exe installer. 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.6c4-py2.4.egg). Do NOT rename it.

  2. Run it as if it were a shell script, e.g. sh setuptools-0.6c4-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.6c4-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.6c4-py2.4.egg
rm python2.4

Downloads

All setuptools downloads can be found at the project’s home page in the Python Cheese Shop. 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.

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.6c5.zip (269.2 kB view details)

Uploaded Source

setuptools-0.6c5.tar.gz (245.5 kB view details)

Uploaded Source

Built Distributions

setuptools-0.6c5.win32-py2.5.exe (217.9 kB view details)

Uploaded Source

setuptools-0.6c5.win32-py2.4.exe (217.9 kB view details)

Uploaded Source

setuptools-0.6c5.win32-py2.3.exe (213.8 kB view details)

Uploaded Source

setuptools-0.6c5-py2.5.egg (318.4 kB view details)

Uploaded Egg

setuptools-0.6c5-py2.4.egg (322.9 kB view details)

Uploaded Egg

setuptools-0.6c5-py2.3.egg (1.0 MB view details)

Uploaded Egg

setuptools-0.6c5-1.src.rpm (256.9 kB view details)

Uploaded Source

File details

Details for the file setuptools-0.6c5.zip.

File metadata

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

File hashes

Hashes for setuptools-0.6c5.zip
Algorithm Hash digest
SHA256 8c9f50f14f670f107f5cb625339129e32c61990e96efadbd6691c837c5ef3bfb
MD5 2e3c95d0ad8fc635706aa8ab4bf112ab
BLAKE2b-256 bb55371d4c3a5b9c696c93746f295dddf43a536c42b32f0df52ee0b2a67f9e1e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c5.tar.gz
Algorithm Hash digest
SHA256 ae1ee9b1a4a26d93e7920b19e3f322318faa3f6b98e38f3d40d04a5c131abe2f
MD5 c43562970b700ab779d5328ec170f659
BLAKE2b-256 ba1b1480b6fef57c0ac946942731467d4d0590b305c4808e0be1b17fd3f5a8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c5.win32-py2.5.exe
Algorithm Hash digest
SHA256 076b8edcd2c1489e3a52d80c1a464b82d48e9fcb043b735fbd126b3290ee0cda
MD5 7918167952ebc536dd00b8868ff5635f
BLAKE2b-256 065f1f915846c47f2bdc62f96965af5ac5900e1280864c758f3cd64b1dcac58b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c5.win32-py2.4.exe
Algorithm Hash digest
SHA256 047250e35db68ebf1bc7e8565f372345d898253dcbdfc6a9a139c6dccd33ead5
MD5 906d91cff0f5d183a6a500957c33bea3
BLAKE2b-256 84cfc588fd4bc0310edaf8e9a026447fa4a7210b5079f87aaf753cbe3be15b90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c5.win32-py2.3.exe
Algorithm Hash digest
SHA256 eb7933dab92739b454aa651981d589fdb4fad57771b307a56db5911a8c77f758
MD5 c63116466c40fd38921c9e73a071461c
BLAKE2b-256 900a43530fce7c099634d23b29735a590bb38635e97a069493b76d64ad476a7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c5-py2.5.egg
Algorithm Hash digest
SHA256 c1a1dca0aeeac6cb5da49b92e85a1efdf1b32c8d6ca64ce0e87e14834c4053a2
MD5 a8d3f61494ccaa8714dfed37bccd3d5d
BLAKE2b-256 73dff68a5c3acd5e7f813d56cd147d713720ceb4ef7a2064c927c9d77fba2d61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c5-py2.4.egg
Algorithm Hash digest
SHA256 74c16c8c936009a1199f3e5eb442ee0d2ac1b50411b39ca294db2d5968eb74cb
MD5 afe2adf1c01701ee841761f5bcd8aa64
BLAKE2b-256 e92431abf427add2d867e16164ac0215f079f8d2a9a3f5fe9153906425b94fc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c5-py2.3.egg
Algorithm Hash digest
SHA256 0b657642c653541af6c43d31c6a624660f91dc493986b4e32948399c59a8dfe2
MD5 ee9fd80965da04f2f3e6b3576e9d8167
BLAKE2b-256 b9323797469c91a78e329cb2f73bedddd3a70cf688a91f484f35f65553ae853f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c5-1.src.rpm
Algorithm Hash digest
SHA256 7b9b025be6d566f5f92b9072bbd372b4052b9130d2e49a22b6485ea2d095a1b6
MD5 55c9bde1a9bb530b29ebc152fefa46ac
BLAKE2b-256 c111efc7f5f5d5d0d7b77030753469ab3173b41d7e92de9de9c384f0f9a3e95d

See more details on using hashes here.

Supported by

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