Skip to main content

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

Project description

``setuptools`` is a collection of enhancements to the Python ``distutils``
(for Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum
of Python 2.4) that allow you to more easily build and distribute Python
packages, especially ones that have dependencies on other packages.

Packages built and distributed using ``setuptools`` look to the user like
ordinary Python packages based on the ``distutils``. Your users don't need to
install or even know about setuptools in order to use them, and you don't
have to include the entire setuptools package in your distributions. By
including just a single `bootstrap module`_ (an 8K .py file), your package will
automatically download and install ``setuptools`` if the user is building your
package from source and doesn't have a suitable version already installed.

.. _bootstrap module: http://peak.telecommunity.com/dist/ez_setup.py

Feature Highlights:

* Automatically find/download/install/upgrade dependencies at build time using
the `EasyInstall tool <http://peak.telecommunity.com/DevCenter/EasyInstall>`_,
which supports downloading via HTTP, FTP, Subversion, and SourceForge, and
automatically scans web pages linked from PyPI to find download links. (It's
the closest thing to CPAN currently available for Python.)

* Create `Python Eggs <http://peak.telecommunity.com/DevCenter/PythonEggs>`_ -
a single-file importable distribution format

* Include data files inside your package directories, where your code can
actually use them. (Python 2.4 distutils also supports this feature, but
setuptools provides the feature for Python 2.3 packages also, and supports
accessing data files in zipped packages too.)

* Automatically include all packages in your source tree, without listing them
individually in setup.py

* Automatically include all relevant files in your source distributions,
without needing to create a ``MANIFEST.in`` file, and without having to force
regeneration of the ``MANIFEST`` file when your source tree changes.

* Automatically generate wrapper scripts or Windows (console and GUI) .exe
files for any number of "main" functions in your project. (Note: this is not
a py2exe replacement; the .exe files rely on the local Python installation.)

* Transparent Pyrex support, so that your setup.py can list ``.pyx`` files and
still work even when the end-user doesn't have Pyrex installed (as long as
you include the Pyrex-generated C in your source distribution)

* Command aliases - create project-specific, per-user, or site-wide shortcut
names for commonly used commands and options

* PyPI upload support - upload your source distributions and eggs to PyPI

* Deploy your project in "development mode", such that it's available on
``sys.path``, yet can still be edited directly from its source checkout.

* Easily extend the distutils with new commands or ``setup()`` arguments, and
distribute/reuse your extensions for multiple projects, without copying code.

* Create extensible applications and frameworks that automatically discover
extensions, using simple "entry points" declared in a project's setup script.

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.

.. _0.6 branch:
http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06

.. _Python SVN sandbox:
http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setuptools-dev

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 Distribution

setuptools-0.6b1.zip (248.1 kB view details)

Uploaded Source

Built Distributions

setuptools-0.6b1-py2.4.egg (307.8 kB view details)

Uploaded Egg

setuptools-0.6b1-py2.3.egg (980.6 kB view details)

Uploaded Egg

File details

Details for the file setuptools-0.6b1.zip.

File metadata

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

File hashes

Hashes for setuptools-0.6b1.zip
Algorithm Hash digest
SHA256 24197f28b1e09f669a5d68eb9ff95f317ec9217f580c34fa73a4d7e6c03f81cc
MD5 000447ea5cf11ebaecc4f6ce9812a561
BLAKE2b-256 82cb906d051fdf1c8b7703d288d3cc44ff32746090378f7f8539c8476a21ce9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6b1-py2.4.egg
Algorithm Hash digest
SHA256 377ff1ce6d8e24842fbc5f7fdf1c64875f7fe9a1c4db9e7b7479cbce1377da86
MD5 b79a8a403e4502fbb85ee3f1941735cb
BLAKE2b-256 1fab1ed6131b5112d1d47cb89e1cbea08f783f0ed49d6fc795ed2ff63f84d20c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools-0.6b1-py2.3.egg
Algorithm Hash digest
SHA256 ae0a6ec6090a92d08fe7f3dbf9f1b2ce889bce2a3d7724b62322a29b92cf93f0
MD5 8822caf901250d848b996b7f25c6e6ca
BLAKE2b-256 773890cae8fd99c5dc402d25930e1c91f5fcf6de5c8e982fd152a5a061e3df56

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