swig_shadow=swig_shadow + '.py'
# On win32 swig places the shadow classes in the directory
# where it was invoked. This is to be opposed to posix where
swig_shadow=swig_shadow + '.py'
# On win32 swig places the shadow classes in the directory
# where it was invoked. This is to be opposed to posix where
infile=swig_shadow
if os.path.isfile(infile):
outfile=[distutil.build_lib,distutil.distribution.get_name()]
infile=swig_shadow
if os.path.isfile(infile):
outfile=[distutil.build_lib,distutil.distribution.get_name()]
outfile=apply(os.path.join,outfile)
distutil.copy_file(infile,outfile,preserve_mode=0)
else:
outfile=apply(os.path.join,outfile)
distutil.copy_file(infile,outfile,preserve_mode=0)
else: