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:
parent
546a8b06dc
commit
3ced68db73
|
@ -2,7 +2,7 @@
|
|||
|
||||
# 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.
|
||||
#
|
||||
# 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 {} \;
|
||||
|
||||
cp $CWD/setup.py .
|
||||
python2 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 \
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
|
|
Loading…
Reference in New Issue