OpenQuizz
Une application de gestion des contenus pédagogiques
setuptools.command.bdist_egg Namespace Reference

Data Structures

class  bdist_egg
 

Functions

def strip_module (filename)
 
def sorted_walk (dir)
 
def write_stub (resource, pyfile)
 
def walk_egg (egg_dir)
 
def analyze_egg (egg_dir, stubs)
 
def write_safety_flag (egg_dir, safe)
 
def scan_module (egg_dir, base, name, stubs)
 
def iter_symbols (code)
 
def can_scan ()
 
def make_zipfile (zip_filename, base_dir, verbose=0, dry_run=0, compress=True, mode='w')
 

Variables

 NATIVE_EXTENSIONS
 
 safety_flags
 
 INSTALL_DIRECTORY_ATTRS
 

Detailed Description

setuptools.command.bdist_egg

Build .egg distributions

Function Documentation

◆ analyze_egg()

def setuptools.command.bdist_egg.analyze_egg (   egg_dir,
  stubs 
)

◆ can_scan()

def setuptools.command.bdist_egg.can_scan ( )

◆ iter_symbols()

def setuptools.command.bdist_egg.iter_symbols (   code)
Yield names and strings used by `code` and its nested code objects

◆ make_zipfile()

def setuptools.command.bdist_egg.make_zipfile (   zip_filename,
  base_dir,
  verbose = 0,
  dry_run = 0,
  compress = True,
  mode = 'w' 
)
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.

◆ scan_module()

def setuptools.command.bdist_egg.scan_module (   egg_dir,
  base,
  name,
  stubs 
)
Check whether module possibly uses unsafe-for-zipfile stuff

◆ sorted_walk()

def setuptools.command.bdist_egg.sorted_walk (   dir)
Do os.walk in a reproducible way,
independent of indeterministic filesystem readdir order

◆ strip_module()

def setuptools.command.bdist_egg.strip_module (   filename)

◆ walk_egg()

def setuptools.command.bdist_egg.walk_egg (   egg_dir)
Walk an unpacked egg's contents, skipping the metadata directory

◆ write_safety_flag()

def setuptools.command.bdist_egg.write_safety_flag (   egg_dir,
  safe 
)

◆ write_stub()

def setuptools.command.bdist_egg.write_stub (   resource,
  pyfile 
)

Variable Documentation

◆ INSTALL_DIRECTORY_ATTRS

INSTALL_DIRECTORY_ATTRS

◆ NATIVE_EXTENSIONS

NATIVE_EXTENSIONS

◆ safety_flags

safety_flags