This commit is contained in:
shubham1206agra
2022-04-28 12:36:51 +05:30
parent feab906927
commit 3cfbb4e65d
@@ -6,20 +6,11 @@
# terms of the 3-clause BSD license. You should have received a copy of the
# 3-clause BSD license along with mlpack. If not, see
# http://www.opensource.org/licenses/BSD-3-Clause for more information.
import sys
import sysconfig
import shutil
import os
import glob
# directory = 'build/lib.' + \
# sysconfig.get_platform() + \
# '-' + \
# str(sys.version_info[0]) + \
# '.' + \
# str(sys.version_info[1]) + \
# '/mlpack/'
# New directory structure
directory = glob.glob('build/lib.' + sysconfig.get_platform() + '*/mlpack/')[0]
directory = directory.replace('\\', '/')