This commit is contained in:
Jerome Kieffer 2014-11-27 13:56:37 +01:00
parent 24a6c3ae5a
commit 3020cba10d
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import shutil
import distutils.util
import subprocess
def _copy(infile, outfile):
"link or copy file according to the OS. Nota those are HARD_LINKS"
if "link" in dir(os):
@ -28,6 +29,7 @@ def _copy(infile, outfile):
else:
shutil.copy(infile, outfile)
def _distutils_dir_name(dname="lib"):
"""
Returns the name of a distutils build directory
@ -53,6 +55,7 @@ def _get_available_scripts(path):
"'python setup.py build' before bootstrapping ?"]
return res
def _copy_files(source, dest, extn):
"""
copy all files with a given extension from source to destination