class documentation

class PthDistributions(Environment): (source)

Known subclasses: setuptools.command.easy_install.RewritePthDistributions

View In Hierarchy

A .pth file with Distribution paths in it

Method __init__ Undocumented
Method add Add `dist` to the distribution map
Method make_relative Undocumented
Method remove Remove `dist` from the distribution map
Method save Write changed .pth file back to disk
Instance Variable basedir Undocumented
Instance Variable dirty Undocumented
Instance Variable filename Undocumented
Instance Variable paths Undocumented
Instance Variable sitedirs Undocumented
Static Method _wrap_lines Undocumented
Method _load Undocumented
def __init__(self, filename, sitedirs=()): (source)

Undocumented

def add(self, dist): (source)

Add `dist` to the distribution map

def make_relative(self, path): (source)

Undocumented

def remove(self, dist): (source)

Remove `dist` from the distribution map

def save(self): (source)

Write changed .pth file back to disk

Undocumented

Undocumented

filename = (source)

Undocumented

Undocumented

sitedirs = (source)

Undocumented

def _load(self): (source)

Undocumented