.. _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


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

package-version.txt::

    59.2.0

install-requires.txt::

    setuptools >=49.6.0


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

conda:

.. CODE-BLOCK:: bash

    $ conda install setuptools

macports:
install the following packages: py-setuptools
opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper 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`

