Message82706
When documentation grows too large it is nice to have clear examples
that stand out of text. Explanation is important to get the idea, but
for a reference cookbook examples work better.
Here is a patch to clarify the usage of *requires* and *provides*
keywords in setup.py on the documentation page
http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages
--- setupscript_old.txt Wed Feb 25 17:09:41 2009
+++ setupscript.txt Wed Feb 25 17:34:00 2009
@@ -423,6 +423,14 @@
distribution being described. If no qualifiers are given, all versions
of the
named module or package are understood to be obsoleted.
+Example of using *requires* and *provides* keywords ::
+
+ setup(...,
+ requires=['dbm', 'foo=>1.1.0'],
+ provides=['myapi (1.1)'],
+ )
+
+
Installing Scripts
================== |
|
Date |
User |
Action |
Args |
2009-02-25 15:41:55 | techtonik | set | recipients:
+ techtonik, tarek |
2009-02-25 15:41:53 | techtonik | set | messageid: <1235576513.9.0.725143372807.issue5366@psf.upfronthosting.co.za> |
2009-02-25 15:41:52 | techtonik | link | issue5366 messages |
2009-02-25 15:41:51 | techtonik | create | |
|