-
Entry points specification
开始之前,先看看《理解setuptools in Python》
EntryPoints provide a persistent, filesystem-based object name registration and name-based direct object import mechanism (implemented by the setuptools package).
Entry points are a mechanism for an installed distribution to advertise components it provides to be discovered and used by other code.
Conceptually, an entry point is defined by three required properties:
- The group that an entry point belongs to indicates that sort of object it provides.
- The name identifies this entry point within its group.
- The object reference points to a Python object.
An “
理解console scripts entry point in Python
最新推荐文章于 2024-08-16 07:49:10 发布