Find a single entry point.
Returns an EntryPoint object, or raises NoSuchEntryPoint if no match is found.
Find a group of entry points with unique names.
Returns a dictionary of names to EntryPoint objects.
Find all entry points in a group.
Returns a list of EntryPoint objects.
These functions will all use sys.path by default if you don’t specify the path parameter. This is normally what you want, so you shouldn’t need to pass path.
The name identifying this entry point
The name of an importable module to which it refers
The dotted object name within the module, or None if the entry point refers to a module itself.
Extra setuptools features related to this entry point as a list, or None
The distribution which advertised this entry point - a Distribution instance or None
Load the object to which this entry point refers.
Parse an entry point from the syntax in entry_points.txt
| Parameters: |
|
|---|---|
| Return type: | EntryPoint |
| Raises BadEntryPoint: | |
if epstr can’t be parsed as an entry point. |
|
Raised when an entry point can’t be parsed.
Raised by get_single() when no matching entry point is found.