module documentation

setuptools.command.bdist_egg Build .egg distributions

Class bdist_egg No class docstring; 0/10 instance variable, 0/3 class variable, 3/11 methods documented
Function analyze_egg Undocumented
Function can_scan Undocumented
Function iter_symbols Yield names and strings used by `code` and its nested code objects
Function make_zipfile Create a zip file from all the files under 'base_dir'. The output zip file will be named 'base_dir' + ".zip". Uses either the "zipfile" Python module (if available) or the InfoZIP "zip" utility (if installed and found on the default search path)...
Function scan_module Check whether module possibly uses unsafe-for-zipfile stuff
Function sorted_walk Do os.walk in a reproducible way, independent of indeterministic filesystem readdir order
Function strip_module Undocumented
Function walk_egg Walk an unpacked egg's contents, skipping the metadata directory
Function write_safety_flag Undocumented
Function write_stub Undocumented
Constant INSTALL_DIRECTORY_ATTRS Undocumented
Constant NATIVE_EXTENSIONS Undocumented
Variable safety_flags Undocumented
Function _get_purelib Undocumented
def analyze_egg(egg_dir, stubs): (source)

Undocumented

def can_scan(): (source)

Undocumented

def iter_symbols(code): (source)

Yield names and strings used by `code` and its nested code objects

def make_zipfile(zip_filename, base_dir, verbose=0, dry_run=0, compress=True, mode='w'): (source)

Create a zip file from all the files under 'base_dir'. The output zip file will be named 'base_dir' + ".zip". Uses either the "zipfile" Python module (if available) or the InfoZIP "zip" utility (if installed and found on the default search path). If neither tool is available, raises DistutilsExecError. Returns the name of the output zip file.

def scan_module(egg_dir, base, name, stubs): (source)

Check whether module possibly uses unsafe-for-zipfile stuff

def sorted_walk(dir): (source)

Do os.walk in a reproducible way, independent of indeterministic filesystem readdir order

def strip_module(filename): (source)

Undocumented

def walk_egg(egg_dir): (source)

Walk an unpacked egg's contents, skipping the metadata directory

def write_safety_flag(egg_dir, safe): (source)

Undocumented

def write_stub(resource, pyfile): (source)

Undocumented

INSTALL_DIRECTORY_ATTRS: list[str] = (source)

Undocumented

Value
['install_lib', 'install_dir', 'install_data', 'install_base']
NATIVE_EXTENSIONS = (source)

Undocumented

Value
dict.fromkeys(""".dll .so .dylib .pyd""".split())
safety_flags: dict[bool, str] = (source)

Undocumented

def _get_purelib(): (source)

Undocumented