]> granicus.if.org Git - python/commit
SWIGing a source file <name>.i silently overwrites <name>.c if it is
authorThomas Heller <theller@ctypes.org>
Fri, 18 Jan 2002 20:30:53 +0000 (20:30 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 18 Jan 2002 20:30:53 +0000 (20:30 +0000)
commit5cba76df7bb38c5168a6133a4370e9673d5fd086
treeac3154012d241af42aa26d5bcb8a12b04e6261f0
parentba4fe77fbac32b1de85bc9943f7ce32d6fef63f2
SWIGing a source file <name>.i silently overwrites <name>.c if it is
present - at least the swigged file should be named <name>_wrap.c as
this is also SWIG's default. (Even better would be to generate the
wrapped sources in a different location, but I'll leave this for
later).

Newer versions of SWIG don't accept the -dnone flag any more.

Since virtually nobody uses SWIG with distutils, this should do no
harm.

Suggested be Martin Bless on c.l.p.
Lib/distutils/command/build_ext.py