Commit adf9bdec authored by Joshua Adelman's avatar Joshua Adelman Committed by Guolin Ke
Browse files

Include LICENSE during python sdist (#680)

parent 1c8355c9
prune build prune build
include LICENSE
include *.rst *.txt include *.rst *.txt
recursive-include lightgbm *.py *.txt *.so recursive-include lightgbm *.py *.txt *.so
recursive-include lightgbm/Release *.dll recursive-include lightgbm/Release *.dll
......
...@@ -43,6 +43,7 @@ def copy_files(use_gpu=False): ...@@ -43,6 +43,7 @@ def copy_files(use_gpu=False):
if use_gpu: if use_gpu:
copy_files_helper('compute') copy_files_helper('compute')
distutils.file_util.copy_file("../CMakeLists.txt", "./lightgbm/") distutils.file_util.copy_file("../CMakeLists.txt", "./lightgbm/")
distutils.file_util.copy_file("../LICENSE", "./")
def compile_cpp(use_mingw=False, use_gpu=False): def compile_cpp(use_mingw=False, use_gpu=False):
......
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