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

Uploaded Source

setuptools-0.6c9.tar.gz (252.7 kB view details)

Uploaded Source

Built Distributions

setuptools-0.6c9.win32-py2.5.exe (223.0 kB view details)

Uploaded Source

setuptools-0.6c9.win32-py2.4.exe (223.0 kB view details)

Uploaded Source

setuptools-0.6c9.win32-py2.3.exe (218.9 kB view details)

Uploaded Source

setuptools-0.6c9-py2.6.egg (328.1 kB view details)

Uploaded Source

setuptools-0.6c9-py2.5.egg (328.0 kB view details)

Uploaded Source

setuptools-0.6c9-py2.4.egg (332.2 kB view details)

Uploaded Source

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

Uploaded Source

setuptools-0.6c9-1.src.rpm (265.4 kB view details)

Uploaded Source

File details

Details for the file setuptools-0.6c9.zip.

File metadata

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

File hashes

Hashes for setuptools-0.6c9.zip
Algorithm Hash digest
SHA256 619b2af51841adbf927223fc733252273a877ee63f9fdf499688d6cf7803d5cf
MD5 2b22ee3c445527df703665b33dcf766d
BLAKE2b-256 63cd163f3ecaf70c0c8406a6bccfea1b304e33b16a7e3dd1aac993561f0d0c9d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c9.tar.gz
Algorithm Hash digest
SHA256 e6190497301b6cb1484b9e6173723452c8df1b4cd9ea97af75c9589b1c34b3d8
MD5 3864c01d9c719c8924c455714492295e
BLAKE2b-256 5ebc70a3d8213cda12eac84c770895c54521d0d19847b512cef54d6c83b0ddcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9.win32-py2.5.exe
Algorithm Hash digest
SHA256 aefb447226ffefdb82035fd032cab9a5cd93bf24802f8b20d5c0cc958f6c9d1b
MD5 602d06054ec1165e995ae54ac30884d7
BLAKE2b-256 e1cdd6bad589187cb0c95ce7e5471932004ed40d7001424db431b3ac950719d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9.win32-py2.4.exe
Algorithm Hash digest
SHA256 872b48f9913ddc5dace2051736bc6a8b45c45d037f9009a140e3a0346a97e00f
MD5 263fe43537b9a766d335a169b819deb8
BLAKE2b-256 e30cc1d6f2f4784dd62e9dc725fd849bd2d66c147644b0713030a28b06351a0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9.win32-py2.3.exe
Algorithm Hash digest
SHA256 85848e9031a0eabaf849a6db0b44ddcf6bf0c9e2696f920d1b1d0ffa82b14ef4
MD5 ea8d375afcf6187b7f6b4b4546755adf
BLAKE2b-256 34343fbaed52feeed2f3e50867d40826f1e3a2d6fe1cb57b5069e932153c8849

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9-py2.6.egg
Algorithm Hash digest
SHA256 91f3e9e7e5db0d9504c215c5ce5e0372857511fc2a02107a608dd077c876ae2b
MD5 ca37b1ff16fa2ede6e19383e7b59245a
BLAKE2b-256 0ce810eed514d71c6f57d9d0eab2a8a7fc578fbcc4e8d464a19310857b93a97a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9-py2.5.egg
Algorithm Hash digest
SHA256 d073d6ab98e316f0b27f12601c5dbd152d3c16bcc410fc143a3ede283affdc6f
MD5 fe67c3e5a17b12c0e7c541b7ea43a8e6
BLAKE2b-256 0453b56373f85a56ddc68e0c9177fdd2a88e87b37d91e636e09dbdfb958cc858

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9-py2.4.egg
Algorithm Hash digest
SHA256 fe34a366298caeb00a47b5dc26222d5aec43e1fe2729e3a717375e819a90bc81
MD5 260a2be2e5388d66bdaee06abec6342a
BLAKE2b-256 fcbf4f539489c61c543752a4e738b818f8e8463c8d3771ad134e66f35c43d03f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9-py2.3.egg
Algorithm Hash digest
SHA256 9b66514a8aa2a482a91227e2f68cddd0056575da9f1635c838e4306971ecda41
MD5 a83c4020414807b496e4cfbe08507c03
BLAKE2b-256 aa6f8a4d13d6d98c6b66fb675282be930e0f742565f5972701ff74a321b5d190

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c9-1.src.rpm
Algorithm Hash digest
SHA256 26bd18d47184301fa5e8dd7f4ecbfa83cdf7e7a770e38b463d9986f9db16e65b
MD5 82bac5d82a7e99bde9079b97f75bbe49
BLAKE2b-256 368ac70262c0c8f1c0e321f626fec1865ad2714f28cc3302aaa2c0588e89d866

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