aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-10-29 22:44:28 +1000
committerfuzzard <fuzzard@kodi.tv>2022-10-31 12:56:50 +1000
commit9c05e9d91c4f7223c06a12162d384e43d59dc022 (patch)
tree14907b757dc21ac662636ffdb0b688f7c8e9a2ee /tools
parentaac453eb5d7d1a79eaf7f5cc208906d808021ac9 (diff)
[tools/depends][native] remove setuptools
Native Python runs ensurepip which installs setuptools. The python package does a better job of keeping up to date with setuptools, so lets just rely on it
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/native/Makefile4
-rw-r--r--tools/depends/native/setuptools/Makefile30
2 files changed, 1 insertions, 33 deletions
diff --git a/tools/depends/native/Makefile b/tools/depends/native/Makefile
index 1f7526474b..800270f8a3 100644
--- a/tools/depends/native/Makefile
+++ b/tools/depends/native/Makefile
@@ -28,7 +28,6 @@ NATIVE= \
perlmodule-parseyapp \
pkg-config \
python3 \
- setuptools \
swig \
TexturePacker \
zlib
@@ -67,12 +66,11 @@ libjpeg-turbo: cmake nasm
libpng: zlib automake
libtool: automake
Mako: MarkupSafe
-meson: python3 setuptools
+meson: python3
ninja: meson
openssl: zlib
pugixml: cmake
python3: $(EXPAT) $(LIBFFI) pkg-config zlib openssl autoconf-archive
-setuptools: python3
swig: pcre
tar: xz automake
TexturePacker: automake pkg-config libpng liblzo2 giflib libjpeg-turbo
diff --git a/tools/depends/native/setuptools/Makefile b/tools/depends/native/setuptools/Makefile
deleted file mode 100644
index 7abfd1c33e..0000000000
--- a/tools/depends/native/setuptools/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-include ../../Makefile.include
-PREFIX=$(NATIVEPREFIX)
-PLATFORM=$(NATIVEPLATFORM)
-DEPS = ../../Makefile.include Makefile ../../download-files.include
-
-# lib name, version
-LIBNAME=setuptools
-VERSION=53.0.0
-ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
-SHA512=d045198210f09c5f2acbd487d3dd291cd7ce814bebe331f1876c133cd28f56d368717c7bd4a875b439c9cc8c9488dc9a7d3e27ab791cce419f78b87fcfd8fff6
-include ../../download-files.include
-
-all: .installed-$(PLATFORM)
-
- cd $(TARBALLS_LOCATION); chmod +x $(ARCHIVE)
-
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
- -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
- cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- cd $(PLATFORM); $(PREFIX)/bin/python3 bootstrap.py
-
-.installed-$(PLATFORM): $(PLATFORM)
- cd $(PLATFORM); $(PREFIX)/bin/python3 setup.py install --prefix=$(PREFIX)
- touch $@
-
-clean:
- rm -f .installed-$(PLATFORM)
-
-distclean::
- rm -rf $(PLATFORM) .installed-$(PLATFORM)