python/entrypoints: Remove Python 2 support.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2021-04-21 20:33:13 +02:00 committed by Willy Sudiarto Raharjo
parent 546a8b06dc
commit 3ced68db73
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for entrypoints # Slackware build script for entrypoints
# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -70,7 +70,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cp $CWD/setup.py . cp $CWD/setup.py .
python2 setup.py install --root=$PKG
python3 setup.py install --root=$PKG python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -1,4 +1,3 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup( setup(