Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
b1b6db4b
Unverified
Commit
b1b6db4b
authored
Oct 13, 2021
by
Rakshit P
Committed by
GitHub
Oct 13, 2021
Browse files
[python] fix mypy error in setup.py (#4671)
parent
a572fdbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python-package/setup.py
python-package/setup.py
+3
-3
No files found.
python-package/setup.py
View file @
b1b6db4b
...
...
@@ -61,10 +61,10 @@ def copy_files(integrated_opencl: bool = False, use_gpu: bool = False) -> None:
copy_files_helper
(
'include'
)
copy_files_helper
(
'src'
)
for
submodule
in
(
CURRENT_DIR
.
parent
/
'external_libs'
).
iterdir
():
submodule
=
submodule
.
stem
if
submodule
==
'compute'
and
not
use_gpu
:
submodule
_stem
=
submodule
.
stem
if
submodule
_stem
==
'compute'
and
not
use_gpu
:
continue
copy_files_helper
(
Path
(
'external_libs'
)
/
submodule
)
copy_files_helper
(
Path
(
'external_libs'
)
/
submodule
_stem
)
(
CURRENT_DIR
/
"compile"
/
"windows"
).
mkdir
(
parents
=
True
,
exist_ok
=
True
)
copyfile
(
CURRENT_DIR
.
parent
/
"windows"
/
"LightGBM.sln"
,
CURRENT_DIR
/
"compile"
/
"windows"
/
"LightGBM.sln"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment