.. _spkg_entrypoints:

entrypoints: Discover and load entry points from installed Python packages
==========================================================================

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

Discover and load entry points from installed packages.


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

https://github.com/takluyver/entrypoints


Special Update/Build Instructions
---------------------------------

Upstream does not provide a source tarball, so the tarball was taken
from github and renamed.

The source tarball does not contain setup.py, so we put the setup
commands in spkg-install.

Type
----

standard


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

- $(PYTHON)
- $(PYTHON_TOOLCHAIN)
- :ref:`spkg_flit_core`
- :ref:`spkg_tomli`

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

package-version.txt::

    0.4

install-requires.txt::

    entrypoints >=0.3


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

conda:

.. CODE-BLOCK:: bash

    $ conda install  entrypoints


macports:
install the following packages: py-entrypoints

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  python3-entrypoints


See https://repology.org/project/entrypoints/versions, https://repology.org/project/python:entrypoints/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`

