cpython/Lib/distutils/command
Anthony Baxter 05f842bae2 Basic dependency checking. setup() has two new optional arguments
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.
2004-03-22 22:22:05 +00:00
..
__init__.py Basic dependency checking. setup() has two new optional arguments 2004-03-22 22:22:05 +00:00
bdist.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
bdist_dumb.py Fix for bug #410541: bdist builds bogus .zips 2002-11-26 17:45:19 +00:00
bdist_rpm.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
bdist_wininst.py Use the right wininstXX.exe, depending on 2004-02-20 19:38:50 +00:00
build.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
build_clib.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
build_ext.py Revert another local change that snuck into a whitespace normalization 2004-01-18 20:39:35 +00:00
build_py.py [Patch #695090 from Bernhard Herzog] Allow specifying both py_modules and packages 2003-02-28 22:03:04 +00:00
build_scripts.py Do not add extra "\n" after bang line. 2003-06-27 19:33:38 +00:00
checkdep.py Basic dependency checking. setup() has two new optional arguments 2004-03-22 22:22:05 +00:00
clean.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
command_template Cosmetic tweak. 2000-05-30 02:04:54 +00:00
config.py [Patch #681504] Call customize_compiler in config command 2003-02-18 01:28:51 +00:00
install.py Basic dependency checking. setup() has two new optional arguments 2004-03-22 22:22:05 +00:00
install_data.py Use "is" to test type objects, not "==". 2002-11-26 21:28:23 +00:00
install_headers.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
install_lib.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
install_scripts.py Fix mode on scripts to have the read bit set (noted by Nicholas Riley) 2002-11-29 19:45:58 +00:00
register.py Remove the --verify option in favor of the standard -n/--dry-run option 2003-04-09 12:35:51 +00:00
sdist.py Add comment to Distutil files about requiring 1.5.2 compatibility, as 2002-11-19 13:12:28 +00:00
wininst-6.exe wininst-6.exe and wininst-7.1.exe are in CVS, so that they can be 2004-02-20 18:33:38 +00:00
wininst-7.1.exe wininst-6.exe and wininst-7.1.exe are in CVS, so that they can be 2004-02-20 18:33:38 +00:00