Mercurial > mxe-octave
view src/python-embedded.mk @ 5495:fb50ae69121c
Add build rule for python3 (bug #58689).
* src/build-python3.mk: Add build rule for python3 version 3.8.3.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/build-setuptools.mk: Update to version 44.1.1 (last version compatible
with python2). Use python2. Set installation prefix.
* src/build-mako.mk: Use python2. Set installation prefix.
* src/build-markupsafe.mk: Use python2. Set installation prefix.
* src/mesa.mk: Windows rule depends on scons. Use python2.
* src/nsis.mk: Depend on scons. Use python2.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Jul 2020 12:21:53 +0200 |
parents | dace3d372190 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. # # NOTE: this is currently depreciated from the mxe build in favor of msys2-python PKG := python-embedded $(PKG)_VERSION := 3.8.1 $(PKG)_CHECKSUM := 7b33bfd3c61f5eb868acb6130b3215e044061046 $(PKG)_SUBDIR := $(PKG)_FILE := python-$($(PKG)_VERSION)-embed-win32.zip $(PKG)_URL := https://www.python.org/ftp/python/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE echo $($(PKG)_VERSION) endef define $(PKG)_BUILD mkdir -p '$(3)$(HOST_PREFIX)/python' cd '$(1)' && tar cf - . | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - ) if test x$(MXE_WINDOWS_BUILD) = xyes; then \ cp '$(3)$(HOST_PREFIX)/python/python.exe' '$(3)$(HOST_PREFIX)/python/python3.exe'; \ fi endef