From 718e894efc9fcb2e93c6e1393d25baed2e685722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20M=C3=BCller?= Date: Sat, 27 Jun 2020 14:47:31 +0200 Subject: [PATCH] PyInstaller fixes (need older scipy) --- nanovna-saver.py | 1 + requirements.txt | 5 +++-- setup.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nanovna-saver.py b/nanovna-saver.py index 9012b88..4e2a033 100644 --- a/nanovna-saver.py +++ b/nanovna-saver.py @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +import pkg_resources.py2_warn from NanoVNASaver.__main__ import main if __name__ == '__main__': diff --git a/requirements.txt b/requirements.txt index c058afa..6c0a381 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ -scipy +scipy==1.4.1 +cython pyqt5 pyserial -numpy \ No newline at end of file +numpy diff --git a/setup.py b/setup.py index c9a4bd8..74a95d2 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,7 @@ setup( 'pyserial', 'PyQt5', 'numpy', - 'scipy' + 'scipy<1.5', + 'cython', ], )