diff options
-rw-r--r-- | python/apsw/README | 3 | ||||
-rw-r--r-- | python/apsw/apsw.SlackBuild | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/python/apsw/README b/python/apsw/README index c078b5fc93b97..ee0623e83c4b2 100644 --- a/python/apsw/README +++ b/python/apsw/README @@ -3,6 +3,3 @@ contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the complete SQLite API into Python. The documentation has a section on the differences between APSW and pysqlite. APSW supports CPython 2.3 onwards and CPython 3.1 onwards. - -Note: To install python 3 set PYTHON3=yes. - # PYTHON3=yes ./apsw.SlackBuild diff --git a/python/apsw/apsw.SlackBuild b/python/apsw/apsw.SlackBuild index 195d7cb864944..18370cda602f9 100644 --- a/python/apsw/apsw.SlackBuild +++ b/python/apsw/apsw.SlackBuild @@ -68,10 +68,8 @@ find -L . \ python setup.py build --enable-all-extensions python setup.py install --root=$PKG --skip-build -if [ "${PYTHON3:-no}" == "yes" ]; then - python3 setup.py build --enable-all-extensions - python3 setup.py install --root=$PKG --skip-build -fi +python3 setup.py build --enable-all-extensions +python3 setup.py install --root=$PKG --skip-build find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |