Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions | Variables
setuptools.dist Namespace Reference

Classes

class  Distribution
 
class  Feature
 

Functions

def _get_unpatched
 
def _patch_distribution_metadata_write_pkg_info
 
def check_importable
 
def assert_string_list
 
def check_nsp
 
def check_extras
 
def assert_bool
 
def check_requirements
 
def check_entry_points
 
def check_test_suite
 
def check_package_data
 
def check_packages
 

Variables

list __all__ = ['Distribution']
 
tuple _Distribution = _get_unpatched(_Distribution)
 
 sequence = tuple,list
 

Function Documentation

def setuptools.dist._get_unpatched (   cls)
private
Protect against re-patching the distutils if reloaded

Also ensures that no other distutils extension monkeypatched the distutils
first.
def setuptools.dist._patch_distribution_metadata_write_pkg_info ( )
private
Workaround issue #197 - Python 3.1 uses an environment-local encoding to
save the pkg_info. Monkey-patch its write_pkg_info method to correct
this undesirable behavior.
def setuptools.dist.assert_bool (   dist,
  attr,
  value 
)
Verify that value is True, False, 0, or 1
def setuptools.dist.assert_string_list (   dist,
  attr,
  value 
)
Verify that value is a string list or None
def setuptools.dist.check_entry_points (   dist,
  attr,
  value 
)
Verify that entry_points map is parseable
def setuptools.dist.check_extras (   dist,
  attr,
  value 
)
Verify that extras_require mapping is valid
def setuptools.dist.check_importable (   dist,
  attr,
  value 
)
def setuptools.dist.check_nsp (   dist,
  attr,
  value 
)
Verify that namespace packages are valid
def setuptools.dist.check_package_data (   dist,
  attr,
  value 
)
Verify that value is a dictionary of package names to glob lists
def setuptools.dist.check_packages (   dist,
  attr,
  value 
)
def setuptools.dist.check_requirements (   dist,
  attr,
  value 
)
Verify that install_requires is a valid requirements list
def setuptools.dist.check_test_suite (   dist,
  attr,
  value 
)

Variable Documentation

list setuptools.dist.__all__ = ['Distribution']
tuple setuptools.dist._Distribution = _get_unpatched(_Distribution)
setuptools.dist.sequence = tuple,list

Copyright 2014 Google Inc. All rights reserved.