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

Uploaded Source

setuptools-0.6c7.tar.gz (249.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

setuptools-0.6c7.win32-py2.5.exe (220.2 kB view details)

Uploaded Source

setuptools-0.6c7.win32-py2.4.exe (220.3 kB view details)

Uploaded Source

setuptools-0.6c7.win32-py2.3.exe (216.2 kB view details)

Uploaded Source

setuptools-0.6c7-py2.5.egg (322.8 kB view details)

Uploaded Egg

setuptools-0.6c7-py2.4.egg (326.9 kB view details)

Uploaded Egg

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

Uploaded Egg

setuptools-0.6c7-1.src.rpm (261.5 kB view details)

Uploaded Source

File details

Details for the file setuptools-0.6c7.zip.

File metadata

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

File hashes

Hashes for setuptools-0.6c7.zip
Algorithm Hash digest
SHA256 5edbecfb492bcdb0dc1f2877f0024726887168fd2cfc56a7851bfa03db02afc7
MD5 b770f540e80f9140ae622c69b5bbfeb8
BLAKE2b-256 5510c08016fc0855ebe88f6711e198e8e3ac9a1bae62effacc51bcb5c0b90d22

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c7.tar.gz
Algorithm Hash digest
SHA256 f18c30ae88025bc94e04eb8f89355742db601ea0367991a0e2b69f2bf74ec0e7
MD5 dedbf6a4f71cd6deaf13ee885054f16b
BLAKE2b-256 744f8f72fc07063c2a8c60821f69761cbca236af346bdbc61ec2f6cf30fe79e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c7.win32-py2.5.exe
Algorithm Hash digest
SHA256 d2050bbf5eb068f5a95290b4d523d0e87d507fc9171c4a815fea47dd5d02a8ba
MD5 395a81d709766f3a0d6084964cb98b5a
BLAKE2b-256 9ae14858e7839df23e373b3b39a45f17f01f3a41c35c034cd8059124641a2a23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c7.win32-py2.4.exe
Algorithm Hash digest
SHA256 9eaa93251715a1a525362a8e3fa43a4eef31ce996656399ac0894e34b67cb638
MD5 8109dbab4d86a24e8b5ef1881c9fcbb1
BLAKE2b-256 c448fc36c7b5e987b989ec3af3c4f741a9c2927e68020d4a71d7cbafea414bd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c7.win32-py2.3.exe
Algorithm Hash digest
SHA256 d31e38c38208ea025efab029bf4b22ebd74b37ec019c8b0743b9571a37d9c56d
MD5 6bd6f02383edc580a311a070e8d360f5
BLAKE2b-256 0b1b2298438741c10969a34ea3523e8a009dccb4cbf9ed16ed6678eaf0043303

See more details on using hashes here.

File details

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

File metadata

  • Download URL: setuptools-0.6c7-py2.5.egg
  • Upload date:
  • Size: 322.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for setuptools-0.6c7-py2.5.egg
Algorithm Hash digest
SHA256 ebb8c9078c7d8fadc96f62606731af61246276dc48ed4ed9b6fd3ccc42a395a9
MD5 45d2ad28f9750e7434111fde831e8372
BLAKE2b-256 84224aa617d74f0e3f320b651d04f0ea2468cac03daa5aab296888c5a36ed459

See more details on using hashes here.

File details

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

File metadata

  • Download URL: setuptools-0.6c7-py2.4.egg
  • Upload date:
  • Size: 326.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for setuptools-0.6c7-py2.4.egg
Algorithm Hash digest
SHA256 c36d4820a923baa702c5ba701f3b7f350c7e82af0044922691d6890c66572015
MD5 5a8f954807d46a0fb67cf1f26c55a82e
BLAKE2b-256 2598dbfc23715d073aa65014e219b078c885ee478ee8266f37cf5beef2220434

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c7-py2.3.egg
Algorithm Hash digest
SHA256 d04e812247d157941868b479a6f8e65804d20ee416ac29e6579cf91ea4e379c4
MD5 209fdf9adc3a615e5115b725658e13e2
BLAKE2b-256 997a816dba79270f752523617b31f8d91d25df2a02ced79caa52a812e567817d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: setuptools-0.6c7-1.src.rpm
  • Upload date:
  • Size: 261.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for setuptools-0.6c7-1.src.rpm
Algorithm Hash digest
SHA256 5a5fe37e20e8a645a2ed22102557ab6b1a5bdd49304830ef5ebbcd5dc48bfa49
MD5 d9fedb0300cd95a8f6529722cc8d7ac2
BLAKE2b-256 1647b2f6126fc281f9822bf41a23f5dfbd8fc95d027ba5949ac2089e26ea2414

See more details on using hashes here.

Supported by

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