From df023f5fe5ea4685f46cf17859b64f328b6fb348 Mon Sep 17 00:00:00 2001
From: Lyubov Miloserdova <55358539+miloserdova-l@users.noreply.github.com>
Date: Fri, 9 Apr 2021 16:36:26 +0300
Subject: [PATCH] Fix incorrect python_requires

---
 scripts/build-wheels.sh | 16 ++++++++--------
 setup.cfg               |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

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]