diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/s3transfer/README | 4 | ||||
-rw-r--r-- | python/s3transfer/s3transfer.SlackBuild | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/python/s3transfer/README b/python/s3transfer/README index b684f98472..ddb6c15db8 100644 --- a/python/s3transfer/README +++ b/python/s3transfer/README @@ -1 +1,5 @@ S3transfer is a Python library for managing Amazon S3 transfers. + +Note: Dependency futures it does not work on Python 3, +and Python 3 users do not need it as the concurrent.futures package +is available in the standard library. diff --git a/python/s3transfer/s3transfer.SlackBuild b/python/s3transfer/s3transfer.SlackBuild index cf0405fdc2..695d9dbfcf 100644 --- a/python/s3transfer/s3transfer.SlackBuild +++ b/python/s3transfer/s3transfer.SlackBuild @@ -71,6 +71,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + 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 |