Skip to content

Commit

Permalink
fix linux binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Apr 16, 2020
1 parent 6a957fd commit cc2c98a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/unix/delocate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ elif [ "$(lsb_release -i -s)" == "CentOS" ]; then
tmp_dir=$(mktemp -d)
cd $tmp_dir

echo "from setuptools import setup; setup(name='app', packages=['main'], package_data={'main': ['*.exe']})" > setup.py
echo "from setuptools import setup; setup(name='main', packages=['main'], package_data={'main': ['*.exe']})" > setup.py
ln -s $root_dir/build/install/main main
$py setup.py bdist_wheel

Expand All @@ -39,6 +39,7 @@ elif [ "$(lsb_release -i -s)" == "CentOS" ]; then

# /bin/cp as cp is aliased to 'cp -i' and would ask before overwriting
/bin/cp -r main/. $root_dir/build/install/main
/bin/cp -r main.libs $root_dir/build/install

else
echo "Unsupported OS: $(uname)"
Expand Down

0 comments on commit cc2c98a

Please sign in to comment.