Orbits
1
|
Public Member Functions | |
def | __init__ |
def | full_name |
def | version_ok |
def | get_version |
def | is_present |
def | is_current |
A prerequisite to building or installing a distribution
def setuptools.depends.Require.__init__ | ( | self, | |
name, | |||
requested_version, | |||
module, | |||
homepage = '' , |
|||
attribute = None , |
|||
format = None |
|||
) |
def setuptools.depends.Require.full_name | ( | self | ) |
Return full package/distribution name, w/version
def setuptools.depends.Require.get_version | ( | self, | |
paths = None , |
|||
default = "unknown" |
|||
) |
Get version number of installed module, 'None', or 'default' Search 'paths' for module. If not found, return 'None'. If found, return the extracted version attribute, or 'default' if no version attribute was specified, or the value cannot be determined without importing the module. The version is formatted according to the requirement's version format (if any), unless it is 'None' or the supplied 'default'.
def setuptools.depends.Require.is_current | ( | self, | |
paths = None |
|||
) |
Return true if dependency is present and up-to-date on 'paths'
def setuptools.depends.Require.is_present | ( | self, | |
paths = None |
|||
) |
Return true if dependency is present on 'paths'
def setuptools.depends.Require.version_ok | ( | self, | |
version | |||
) |
Is 'version' sufficiently up-to-date?
Copyright 2014 Google Inc. All rights reserved.