Skip to content

Commit

Permalink
Add missing necessary files from catboost subdir.. #830
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-khropov committed Mar 29, 2023
1 parent aee914a commit f3a389a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion catboost/python-package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,13 @@ def copy_catboost_sources(topdir, pkgdir, verbose, dry_run):
'AUTHORS', 'LICENSE', 'CONTRIBUTING.md', 'README.md', 'RELEASE.md',
'conanfile.txt',
'build',
os.path.join('catboost', 'base_defs.pxd'),
os.path.join('catboost', 'cuda'),
os.path.join('catboost', 'idl'),
os.path.join('catboost', 'libs'),
os.path.join('catboost', 'private'),
os.path.join('catboost', 'python-package', 'catboost'),
os.path.join('catboost', 'tools'),
'cmake',
'contrib',
'library',
Expand All @@ -122,7 +124,11 @@ def copy_catboost_sources(topdir, pkgdir, verbose, dry_run):
]
topnames += get_all_cmake_lists(topdir, '')
topnames += get_all_cmake_lists(topdir, 'catboost')
topnames += get_all_cmake_lists(topdir, os.path.join('catboost', 'python-package'))

# we have to include them all (not only python-package) to avoid CMake configuration errors
for sub_dir in ['R-package', 'app', 'jvm-packages', 'python-package', 'spark']:
topnames += get_all_cmake_lists(topdir, os.path.join('catboost', sub_dir))

for name in topnames:
src = os.path.join(topdir, name)
dst = os.path.join(pkgdir, name)
Expand Down

0 comments on commit f3a389a

Please sign in to comment.