Files
cpython/Lib
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
..
2004-03-08 16:57:19 +00:00
2004-03-03 16:34:31 +00:00
2004-03-03 16:34:31 +00:00
2004-02-12 17:35:32 +00:00
2004-02-12 17:35:32 +00:00
2004-03-20 22:18:03 +00:00
2003-06-29 05:46:54 +00:00
2003-10-22 14:38:54 +00:00
2003-11-20 13:38:01 +00:00
2003-05-05 14:16:41 +00:00
2004-02-12 17:35:32 +00:00
2004-02-12 17:35:32 +00:00
2004-01-18 20:29:55 +00:00
2003-06-29 16:59:43 +00:00
2003-02-27 23:18:46 +00:00
2004-02-12 17:35:32 +00:00
2003-02-27 20:14:51 +00:00
2004-02-15 16:43:20 +00:00
2004-02-12 17:35:32 +00:00
2004-02-12 17:35:32 +00:00
2004-02-12 17:35:32 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 23:18:46 +00:00
2003-12-17 20:43:33 +00:00
2004-02-23 17:27:57 +00:00
2003-01-31 00:35:58 +00:00
2004-02-12 17:35:32 +00:00
2004-02-12 17:35:32 +00:00
2003-11-11 19:39:17 +00:00
2003-02-27 20:14:51 +00:00
2003-05-27 06:30:52 +00:00
2004-02-12 17:35:32 +00:00
2004-01-18 20:29:55 +00:00
2004-03-14 07:54:37 +00:00
2003-04-24 16:02:54 +00:00
2003-02-27 20:14:51 +00:00
2004-01-18 20:29:55 +00:00
2003-10-12 04:29:10 +00:00
2003-12-17 20:43:33 +00:00
2004-02-12 17:35:32 +00:00