diff --git a/.github/build-manylinux-wheels b/.github/build-manylinux-wheels index 748aa1c..0ffa1d4 100755 --- a/.github/build-manylinux-wheels +++ b/.github/build-manylinux-wheels @@ -32,6 +32,7 @@ for PYROOT in /opt/python/cp*; do export Python3_EXECUTABLE="$PYROOT/bin/python" export Python3_INCLUDE_DIR="$(find "$PYROOT/include/" \ -mindepth 1 -maxdepth 1 -type d)" + # "$Python3_EXECUTABLE" -m pip wheel /io/ --no-clean -w /io/dist/ "$Python3_EXECUTABLE" -m build done unset GLOBIGNORE diff --git a/setup.py b/setup.py index 44026a0..e6b2015 100644 --- a/setup.py +++ b/setup.py @@ -40,16 +40,29 @@ def build_cmake(self, exts): # Move shared objects to the build lib location # TODO probably should just output them there from CMake... but eh + print("MAKING %s" % build_lib_dir) + os.makedirs(build_lib_dir, exist_ok=True) + print("MOVING %s -> %s" % + (os.path.join(build_dir, 'gtsam', 'python', 'gtsam', + gtsam_so), os.path.join(build_lib_dir, gtsam_so))) shutil.copy( os.path.join(build_dir, 'gtsam', 'python', 'gtsam', gtsam_so), os.path.join(build_lib_dir, gtsam_so)) + print("MOVING %s -> %s" % + (os.path.join(build_dir, gtsam_quadrics_so), + os.path.join(build_lib_dir, gtsam_quadrics_so))) shutil.copy(os.path.join(build_dir, gtsam_quadrics_so), os.path.join(build_lib_dir, gtsam_quadrics_so)) # Move shared objects to the shared source location # TODO probably should be behind an '--inplace' flag or something... + print("MOVING %s -> %s" % (os.path.join( + build_lib_dir, gtsam_so), os.path.join(source_dir, gtsam_so))) shutil.copy(os.path.join(build_lib_dir, gtsam_so), os.path.join(source_dir, gtsam_so)) + print("MOVING %s -> %s" % + (os.path.join(build_lib_dir, gtsam_quadrics_so), + os.path.join(source_dir, gtsam_quadrics_so))) shutil.copy(os.path.join(build_lib_dir, gtsam_quadrics_so), os.path.join(source_dir, gtsam_quadrics_so))