Commit 7689a4d0 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

[python] avoid copying full windows folder.

parent cff54d51
...@@ -42,7 +42,10 @@ def copy_files(use_gpu=False): ...@@ -42,7 +42,10 @@ def copy_files(use_gpu=False):
if not os.path.isfile('./_IS_SOURCE_PACKAGE.txt'): if not os.path.isfile('./_IS_SOURCE_PACKAGE.txt'):
copy_files_helper('include') copy_files_helper('include')
copy_files_helper('src') copy_files_helper('src')
copy_files_helper('windows') if not os.path.exists("./compile/windows/"):
os.makedirs("./compile/windows/")
distutils.file_util.copy_file("../windows/LightGBM.sln", "./compile/windows/LightGBM.sln")
distutils.file_util.copy_file("../windows/LightGBM.vcxproj", "./compile/windows/LightGBM.vcxproj")
if use_gpu: if use_gpu:
copy_files_helper('compute') copy_files_helper('compute')
distutils.file_util.copy_file("../CMakeLists.txt", "./compile/") distutils.file_util.copy_file("../CMakeLists.txt", "./compile/")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment