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

Uploaded Source

setuptools-0.6c6.tar.gz (248.6 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.6c6.win32-py2.5.exe (220.0 kB view details)

Uploaded Source

setuptools-0.6c6.win32-py2.4.exe (220.0 kB view details)

Uploaded Source

setuptools-0.6c6.win32-py2.3.exe (215.9 kB view details)

Uploaded Source

setuptools-0.6c6-py2.5.egg (322.1 kB view details)

Uploaded Egg

setuptools-0.6c6-py2.4.egg (326.2 kB view details)

Uploaded Egg

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

Uploaded Egg

setuptools-0.6c6-1.src.rpm (260.8 kB view details)

Uploaded Source

File details

Details for the file setuptools-0.6c6.zip.

File metadata

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

File hashes

Hashes for setuptools-0.6c6.zip
Algorithm Hash digest
SHA256 a5eeff19ea62091b1045efb88f62bcfc1b81be07edc4864721cfede75998032d
MD5 a72b54fd9f7d30fec2474321faf888b1
BLAKE2b-256 b08f7fb7b87601dfd654e6d4dbe2dd2f61d029dc0037cc5b6fe6caebf3e5dac0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c6.tar.gz
Algorithm Hash digest
SHA256 075172b39f0933d3fbd1d4e90f29742c1402a29da26db04357eb18fd46ffd6b1
MD5 e3d56d4d19776042607cbbecae823c8b
BLAKE2b-256 c8d123a9b039d7962a211b759c48571d2ffe041fbc0ba6d8732d46ddd899beef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c6.win32-py2.5.exe
Algorithm Hash digest
SHA256 0b8b41508bfae2c84c8be214819635c3ba177377e48b73097fed9a5da826979c
MD5 36309d6541a436fead971092aa42d1af
BLAKE2b-256 4cc02ba74e7430d76ee173c9cda0711af98064a9fdbd558e14432f800e92e373

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c6.win32-py2.4.exe
Algorithm Hash digest
SHA256 21a821cffd80787f178754c4dba6349d311483127aea52473419b2f5bff58813
MD5 ccf2b51e22bad715b6a60c80872bcbee
BLAKE2b-256 42a9dab94b4f97a399a4226414d48e4a39410c682578b97a3032bf9b81f079ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c6.win32-py2.3.exe
Algorithm Hash digest
SHA256 23c8b4ad182eeab65bd0377910b664fb1abd51f437263057039ff8179799d5ba
MD5 1fa81b339055e5f0607c723e149e989d
BLAKE2b-256 5b13459677b0ec718a3f5706d1e8175d4856f1bbadaa627628679d8a79e6db8c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c6-py2.5.egg
Algorithm Hash digest
SHA256 bd002898d1ed66ec1ee2b2700d613689ee23fa4571fef0b67dfeb09c2dfbe1b8
MD5 b2f8a7520709a5b34f80946de5f02f53
BLAKE2b-256 95e698322b7ac8f1879196d4327a1a2d352802e6635d72496e6c4b4a2204f93e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c6-py2.4.egg
Algorithm Hash digest
SHA256 74d3958596ac3aae46185bec0039aa6dfa26f4dfd39cb3ecc09272c81ae083e7
MD5 3c56af57be3225019260a644430065ab
BLAKE2b-256 8c800fdac5b7b6c17c5b347250798689e600111895017e3855e0db7238bcb7bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6c6-py2.3.egg
Algorithm Hash digest
SHA256 0ad07d37216fedda797f4869f5844e2033be5d50a4b110475bfcbabd23b6db77
MD5 35686b78116a668847237b69d549ec20
BLAKE2b-256 a1d4150ef1cb7fdf2f636e9c7847fd38a7704facb9216821bdd697c72573f065

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for setuptools-0.6c6-1.src.rpm
Algorithm Hash digest
SHA256 0c6ff7be571279deb08c4616afffbdc0f6cd73f625629107b83fd3f587e9c78e
MD5 e2b1ef5d9b9682e32988ee2f1525a56e
BLAKE2b-256 5aee8d3bbe7e760fa9759183ad8b56b8b92b573c5111639e0e740e0e1fd6e20f

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