diff --git a/scripts/build-wheels.sh b/scripts/build-wheels.sh index 718fbf38..ab89d9f4 100755 --- a/scripts/build-wheels.sh +++ b/scripts/build-wheels.sh @@ -24,20 +24,20 @@ set -euo pipefail export LC_ALL=C -LATEST="" - -cd $(dirname $(readlink -f "${BASH_SOURCE[0]}")) -cd ../ +#Early check for build tools +chrpath --version && cmake --version -mkdir ./build -mkdir ./dist -mkdir ./mrob +cd $(dirname $(readlink -f "${BASH_SOURCE[0]}"))/.. +mkdir -p ./build ./dist ./mrob cp ./__init__.py ./mrob/__init__.py cd ./build NUMPROC=$(grep -Ec '^processor\s+:' /proc/cpuinfo) +echo "Running $NUMPROC parallel jobs" + +LATEST="" for PYBIN in /opt/python/cp3*/bin/ do @@ -46,7 +46,7 @@ do cmake .. -DPYTHON_EXECUTABLE:FILEPATH=${PYBIN}python3 make -j $NUMPROC - mv ../lib/* ../mrob + mv --verbose ../lib/* ../mrob done chrpath -r '$ORIGIN' ../mrob/mrob.*.so diff --git a/setup.cfg b/setup.cfg index d9276003..d82bdbbd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,7 +33,7 @@ license_files = LICENSE [options] zip_safe = false include_package_data = true -python_requires = >= 3.* +python_requires = >= 3.5 packages = find: [options.package_data]