summaryrefslogtreecommitdiffstats
path: root/Doc/distutils
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-02-13 09:12:33 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-02-13 09:12:33 (GMT)
commite6aeba7444471157c74e5f291e5c196e74ec1c5c (patch)
tree5d9c3802d23848f90c6097a5aac341870a8d2f72 /Doc/distutils
parent5b2cb1d56e3366dd75db86acacdbcb4b8cb8f62d (diff)
downloadcpython-e6aeba7444471157c74e5f291e5c196e74ec1c5c.zip
cpython-e6aeba7444471157c74e5f291e5c196e74ec1c5c.tar.gz
cpython-e6aeba7444471157c74e5f291e5c196e74ec1c5c.tar.bz2
#5158: added documentation on the depends option in distutils extensions
Diffstat (limited to 'Doc/distutils')
-rw-r--r--Doc/distutils/setupscript.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
index 997dab7..9308288 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
================================================