[Python-checkins] python/dist/src/Lib/distutils extension.py,1.11,1.12
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Wed, 12 Jun 2002 13:08:58 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv15688
Modified Files:
extension.py
Log Message:
Add a new definition to Extension objects: depends.
depends is a list of files that the target depends, but aren't direct
sources of the target. think .h files.
Index: extension.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/extension.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** extension.py 29 Mar 2002 18:00:19 -0000 1.11
--- extension.py 12 Jun 2002 20:08:56 -0000 1.12
***************
*** 74,77 ****
--- 74,79 ----
extensions, which typically export exactly one symbol: "init" +
extension_name.
+ depends : [string]
+ list of files that the extension depends on
"""
***************
*** 87,90 ****
--- 89,93 ----
extra_link_args=None,
export_symbols=None,
+ depends=None,
):
***************
*** 106,109 ****
--- 109,113 ----
self.extra_link_args = extra_link_args or []
self.export_symbols = export_symbols or []
+ self.depends = depends or []
# class Extension