From e6aeba7444471157c74e5f291e5c196e74ec1c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarek=20Ziad=C3=A9?= Date: Fri, 13 Feb 2009 09:12:33 +0000 Subject: [PATCH] #5158: added documentation on the depends option in distutils extensions --- Doc/ACKS.txt | 1 + Doc/distutils/setupscript.rst | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt index 38c3dc22a82..849886aec7c 100644 --- a/Doc/ACKS.txt +++ b/Doc/ACKS.txt @@ -18,6 +18,7 @@ docs@python.org), and we'll be glad to correct the problem. * Oliver Andrich * Heidi Annexstad * Jesús Cea Avión + * Manuel Balsera * Daniel Barclay * Chris Barker * Don Bashford diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst index 997dab7fb3d..9308288e136 100644 --- a/Doc/distutils/setupscript.rst +++ b/Doc/distutils/setupscript.rst @@ -347,6 +347,10 @@ symbols (functions or variables) to be exported. This option is not needed when building compiled extensions: Distutils will automatically add ``initmodule`` to the list of exported symbols. +The :option:`depends` option is a list of files that the extension depends on +(for example header files). The build command will call the compiler on the +sources to rebuild extension if any on this files has been modified since the +previous build. Relationships between Distributions and Packages ================================================