From 3ced68db733ff4d66d98286d30d4217c1e17f859 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Wed, 21 Apr 2021 20:33:13 +0200 Subject: python/entrypoints: Remove Python 2 support. Signed-off-by: Benjamin Trigona-Harany Signed-off-by: Willy Sudiarto Raharjo --- python/entrypoints/entrypoints.SlackBuild | 3 +-- python/entrypoints/setup.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'python/entrypoints') diff --git a/python/entrypoints/entrypoints.SlackBuild b/python/entrypoints/entrypoints.SlackBuild index 76f2e3edb8..2c1f2f4e31 100644 --- a/python/entrypoints/entrypoints.SlackBuild +++ b/python/entrypoints/entrypoints.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for entrypoints -# Copyright 2017-2019 Benjamin Trigona-Harany +# Copyright 2017-2021 Benjamin Trigona-Harany # 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 \ diff --git a/python/entrypoints/setup.py b/python/entrypoints/setup.py index e278244224..402c431bec 100644 --- a/python/entrypoints/setup.py +++ b/python/entrypoints/setup.py @@ -1,4 +1,3 @@ - from setuptools import setup, find_packages setup( -- cgit v1.2.3