• 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
..
__init__.py Loading commit data...
bdist.py Loading commit data...
bdist_dumb.py Loading commit data...
bdist_rpm.py Loading commit data...
bdist_wininst.py Loading commit data...
build.py Loading commit data...
build_clib.py Loading commit data...
build_ext.py Loading commit data...
build_py.py Loading commit data...
build_scripts.py Loading commit data...
checkdep.py Loading commit data...
clean.py Loading commit data...
command_template Loading commit data...
config.py Loading commit data...
install.py Loading commit data...
install_data.py Loading commit data...
install_headers.py Loading commit data...
install_lib.py Loading commit data...
install_scripts.py Loading commit data...
register.py Loading commit data...
sdist.py Loading commit data...
wininst-6.exe Loading commit data...
wininst-7.1.exe Loading commit data...