From 8d91c3e9e7458c1faa5d09fce2920f73826f2c73 Mon Sep 17 00:00:00 2001
From: Aaron Madlon-Kay <aaron@madlon-kay.com>
Date: Tue, 12 Nov 2019 16:44:11 +0900
Subject: [PATCH] Remove pip installation for packaging in MacPorts

MacPorts provides the Python modules globally
---
 yubioath-desktop.pro | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/yubioath-desktop.pro b/yubioath-desktop.pro
index 2cbfb51..1b8c96e 100644
--- a/yubioath-desktop.pro
+++ b/yubioath-desktop.pro
@@ -38,16 +38,6 @@ QRC_JSON = resources.json
 # Generate first time
 system($$PYTHON_CMD build_qrc.py resources.json)
 
-# Install python dependencies with pip on mac and win
-win32|macx {
-    pip.target = pymodules
-    QMAKE_EXTRA_TARGETS += pip
-    PRE_TARGETDEPS += pymodules
-    QMAKE_CLEAN += -r pymodules
-}
-macx {
-    pip.commands = python3 -m venv pymodules && source pymodules/bin/activate && pip3 install -r requirements.txt && deactivate
-}
 !macx {
     pip.commands = pip3 install -r requirements.txt --target pymodules
 }
-- 
2.26.0

