.. _spkg_setuptools:

setuptools: Build system for Python packages
============================================

Description
-----------

setuptools is a collection of enhancements to the Python distutils (for
Python 2.6 and up) that allow you to more easily build and distribute
Python packages, especially ones that have dependencies on other
packages.

Website: http://pypi.python.org/pypi/setuptools/

License
-------

PSF or ZPL. i.e Python Software Foundation License or Zope Public
License


Upstream Contact
----------------

-  Phillip J. Eby (distutils-sig@python org)

Dependencies
------------

-  python

Type
----

standard


Dependencies
------------

- $(PYTHON)

Version Information
-------------------

package-version.txt::

    63.2.0

install-requires.txt::

    # Set this bound until :trac:`34209` adds support for PEP660 editable builds
    setuptools >=49.6.0,<64.0.0


Equivalent System Packages
--------------------------

conda:

.. CODE-BLOCK:: bash

    $ conda install  "setuptools<64"


macports:
install the following packages: py-setuptools

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install python3-setuptools


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  python3-setuptools


See https://repology.org/project/python:setuptools/versions


However, these system packages will not be used for building Sage
because using Python site-packages is not supported by the Sage distribution;
see :trac:`29023`

