• Anthony Baxter's avatar
    Basic dependency checking. setup() has two new optional arguments · 05f842ba
    Anthony Baxter yazdı
    requires and provides. requires is a sequence of strings, of the
    form 'packagename-version'. The dependency checking so far merely
    does an '__import__(packagename)' and checks for packagename.__version__
    You can also leave off the version, and any version of the package
    will be installed.
    There's a special case for the package 'python' - sys.version_info
    is used, so
    requires= ( 'python-2.3', )
    just works.
    
    Provides is of the same format as requires - but if it's not supplied,
    a provides is generated by adding the version to each entry in packages,
    or modules if packages isn't there.
    Provides is currently only used in the PKG-INFO file. Shortly, PyPI
    will grow the ability to accept these lines, and register will be
    updated to send them.
    
    There's a new command 'checkdep' command that runs these checks.
    For this version, only greater-than-or-equal checking is done. We'll
    add the ability to specify an optional operator later.
    05f842ba
Adı
Son kayıt (commit)
Son güncelleme
..
command Loading commit data...
README Loading commit data...
__init__.py Loading commit data...
archive_util.py Loading commit data...
bcppcompiler.py Loading commit data...
ccompiler.py Loading commit data...
cmd.py Loading commit data...
core.py Loading commit data...
cygwinccompiler.py Loading commit data...
debug.py Loading commit data...
dep_util.py Loading commit data...
dir_util.py Loading commit data...
dist.py Loading commit data...
emxccompiler.py Loading commit data...
errors.py Loading commit data...
extension.py Loading commit data...
fancy_getopt.py Loading commit data...
file_util.py Loading commit data...
filelist.py Loading commit data...
log.py Loading commit data...
msvccompiler.py Loading commit data...
mwerkscompiler.py Loading commit data...
spawn.py Loading commit data...
sysconfig.py Loading commit data...
text_file.py Loading commit data...
unixccompiler.py Loading commit data...
util.py Loading commit data...
version.py Loading commit data...