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.6c8-py2.4.egg). Do NOT rename it.

  2. Run it as if it were a shell script, e.g. sh setuptools-0.6c8-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.6c8-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.6c8-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.

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

Uploaded Source

setuptools-0.6c8.tar.gz (250.9 kB view details)

Uploaded Source

Built Distributions

setuptools-0.6c8.win32-py2.5.exe (221.3 kB view details)

Uploaded Source

setuptools-0.6c8.win32-py2.4.exe (221.3 kB view details)

Uploaded Source

setuptools-0.6c8.win32-py2.3.exe (217.2 kB view details)

Uploaded Source

setuptools-0.6c8-py2.5.egg (324.9 kB view details)

Uploaded Source

setuptools-0.6c8-py2.4.egg (329.0 kB view details)

Uploaded Source

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

Uploaded Source

setuptools-0.6c8-1.src.rpm (263.2 kB view details)

Uploaded Source

File details

Details for the file setuptools-0.6c8.zip.

File metadata

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

File hashes

Hashes for setuptools-0.6c8.zip
Algorithm Hash digest
SHA256 1c2a7410b8c242ace67f204d8ba12bd4ba6fc2b229462d8db1c08a839aac7241
MD5 bac7c08f25548f6fce7a52b2bd96a28b
BLAKE2b-256 65991f95f6996022c7d5e00b18b5a47813c888b12d6837071f1978280801d9ad

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c8.tar.gz
Algorithm Hash digest
SHA256 96667a84cd8c7af103ca07fe6b41f7c1494a0ab7300335f7ab18ab49c3203e37
MD5 0e9bbe1466f3ee29588cc09d3211a010
BLAKE2b-256 2917f98a2cb39bb5b40357fd54fba1dd105e224a447a91867ac5c4ef6f8f0191

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c8.win32-py2.5.exe
Algorithm Hash digest
SHA256 a66da52e725be6e433efa1181843b26d7d4148424d9ea4aa19b44d5b29c28866
MD5 963088fdb1c7332b1cbd4885876e077a
BLAKE2b-256 2af9359b6a4b6eafa7323522dd89e3765e2ea191a37d3a349d8363e6f49205b8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c8.win32-py2.4.exe
Algorithm Hash digest
SHA256 1cbc564f92bcb57495aff4a8fbe6e7e60e8c06d8f761f6d5cec034b809e3c67f
MD5 392b5d00243a226cbebc70d170d32e2e
BLAKE2b-256 faf1c2553c8095a7d430b39669081acfa8afecff686682e9fec8df3403495cd3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c8.win32-py2.3.exe
Algorithm Hash digest
SHA256 01ef931a539882885ebc832d4d5c865ac78da775662046fe13c76cc9b51a4f6e
MD5 4965614c7210a328b0bc2c9cfde8fc4f
BLAKE2b-256 da1dec8ecc71d817000bfc86eaafe2af7984fe8a5c61c86abaf663bbef1ac7fa

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c8-py2.5.egg
Algorithm Hash digest
SHA256 e7ed68f6ec5ae8eb8197646fc5a7a32108be661bc588f3555240c6943ac55d1d
MD5 1721747ee329dc150590a58b3e1ac95b
BLAKE2b-256 b94c1ccb5022fb94f3f8d5c90d2931e34d4208ea3aa0e7c4927d49c9e060e568

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c8-py2.4.egg
Algorithm Hash digest
SHA256 ef3eebee06a96a0257567f311089363a873dce2b1cb616af4a2406ab2203dfab
MD5 cba38d74f7d483c06e9daa6070cce6de
BLAKE2b-256 8e6bc1cd58d373ce4d3c8d4cb61e2185c0b0ec58911eb742c0dca026ff1450ed

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c8-py2.3.egg
Algorithm Hash digest
SHA256 a065e6a8845c30008e8db84f6b07b2b74b9ae0827c19f6208795cb2bbe3bb773
MD5 50759d29b349db8cfd807ba8303f1902
BLAKE2b-256 aed4740611a1e12211e37eb235f8ff5913cd14e8573b2e1c2586a623ad405ad9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c8-1.src.rpm
Algorithm Hash digest
SHA256 a8d115bc46607f73bd50179c407f680b26f6dc2d2c3bbea9512baa600edaafa8
MD5 ba7bf7170729847ef89399eeebd3249f
BLAKE2b-256 b8ac75799ee665da8f826c4b494d46765f76a1c963fde9eb5dede05c2caccf38

See more details on using hashes here.

Provenance

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