From c9daab80a9deae1abed7f58197361ff049836bf2 Mon Sep 17 00:00:00 2001 From: Kjell Wooding Date: Sat, 17 Oct 2020 16:18:54 -0600 Subject: [PATCH] use python for arch as some platforms don't have the i386 command --- {{ cookiecutter.repo_name }}/Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{ cookiecutter.repo_name }}/Makefile.include b/{{ cookiecutter.repo_name }}/Makefile.include index 5abe2df..9cc4813 100644 --- a/{{ cookiecutter.repo_name }}/Makefile.include +++ b/{{ cookiecutter.repo_name }}/Makefile.include @@ -1,4 +1,3 @@ -ARCH := $(shell arch) CONDA_EXE ?= {{ cookiecutter.conda_path }} DEBUG_FILE := debug.txt MODULE_NAME := {{ cookiecutter.module_name }} @@ -6,4 +5,5 @@ TESTS_NO_CI = $(MODULE_NAME)/tests/no_ci PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) PROJECT_NAME := {{ cookiecutter.repo_name }} PYTHON_INTERPRETER := python3 -VIRTUALENV := {{ cookiecutter.virtualenv }} +ARCH := $(shell $(PYTHON_INTERPRETER) -c "import platform; print(platform.platform())") +VIRTUALENV := conda