From ccdc6bc530444283a510ceb6a50878493fe356f2 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 10 Jan 2018 09:29:41 +0200 Subject: python,python3: export mk files outside of python package dirs Since `lang/python` is it's own folder of Python packages (for both Python 2 & 3), and these build rules are needed in a lot of packages [especially Python packages], putting them here makes sense architecturally, to be shared. This also helps get rid of the `include_mk` construct which relies on OpenWrt core to provide, and seems like a broken design idea that has persisted for a while. Reason is: it requires that Python 2/3 be built to provide these mk files for other Python packages, which seems like a bad idea. Long-term, there could be an issue where some other feeds would require these mk files [e.g. telephony] for some Python packages. We'll see how we handle this a bit later. For now we limit this to this feed. Signed-off-by: Alexandru Ardelean --- lang/python/python3-version.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lang/python/python3-version.mk (limited to 'lang/python/python3-version.mk') diff --git a/lang/python/python3-version.mk b/lang/python/python3-version.mk new file mode 100644 index 000000000..e42eeb8a0 --- /dev/null +++ b/lang/python/python3-version.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# Note: keep in sync with setuptools & pip +PYTHON3_VERSION_MAJOR:=3 +PYTHON3_VERSION_MINOR:=6 +PYTHON3_VERSION_MICRO:=4 + +PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR) + +PYTHON3_SETUPTOOLS_VERSION:=28.8.0 +PYTHON3_PIP_VERSION:=9.0.1 + -- cgit