This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients tarek, techtonik
Date 2009-02-25.15:41:50
SpamBayes Score 0.00016474634
Marked as misclassified No
Message-id <1235576513.9.0.725143372807.issue5366@psf.upfronthosting.co.za>
In-reply-to
Content
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
 ==================
History
Date User Action Args
2009-02-25 15:41:55techtoniksetrecipients: + techtonik, tarek
2009-02-25 15:41:53techtoniksetmessageid: <1235576513.9.0.725143372807.issue5366@psf.upfronthosting.co.za>
2009-02-25 15:41:52techtoniklinkissue5366 messages
2009-02-25 15:41:51techtonikcreate