OpenQuizz
Une application de gestion des contenus pédagogiques
DistPathLocator Class Reference
Inheritance diagram for DistPathLocator:
Collaboration diagram for DistPathLocator:

Public Member Functions

def __init__ (self, distpath, **kwargs)
 
- Public Member Functions inherited from Locator
def __init__ (self, scheme='default')
 
def get_errors (self)
 
def clear_errors (self)
 
def clear_cache (self)
 
def get_distribution_names (self)
 
def get_project (self, name)
 
def score_url (self, url)
 
def prefer_url (self, url1, url2)
 
def split_filename (self, filename, project_name)
 
def convert_url_to_download_info (self, url, project_name)
 
def locate (self, requirement, prereleases=False)
 

Data Fields

 distpath
 
- Data Fields inherited from Locator
 opener
 
 matcher
 
 errors
 

Additional Inherited Members

- Static Public Attributes inherited from Locator
 source_extensions
 
 binary_extensions
 
 excluded_extensions
 
 wheel_tags
 
 downloadable_extensions
 
- Properties inherited from Locator
 scheme = property(_get_scheme, _set_scheme)
 

Detailed Description

This locator finds installed distributions in a path. It can be useful for
adding to an :class:`AggregatingLocator`.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  distpath,
**  kwargs 
)
Initialise an instance.

:param distpath: A :class:`DistributionPath` instance to search.

Field Documentation

◆ distpath

distpath

The documentation for this class was generated from the following file: