mirror of https://github.com/silx-kit/pyFAI.git
clean up
This commit is contained in:
parent
24a6c3ae5a
commit
3020cba10d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue