From 67d4e7de995b694847e7e77410c1c5add2e941d5 Mon Sep 17 00:00:00 2001
From: "Robin.Mueller" <robin.mueller.m@gmail.com>
Date: Wed, 15 Apr 2020 15:49:34 +0200
Subject: [PATCH] shebang changed, venv added to .gitignore

---
 .gitignore                                                | 4 +++-
 .../OBSW_TmTcClient_Service_17_Serial_.xml                | 4 ++--
 obsw_tmtc_client.py                                       | 8 ++++----
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5b257ed..b83ade3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,4 +26,6 @@ log
 # https://stackoverflow.com/questions/5533050/gitignore-exclude-folder-but-include-specific-subfolder
 # you can skip this first one if it is not already excluded by prior patterns
 .idea/*
-!.idea/runConfigurations/
\ No newline at end of file
+!.idea/runConfigurations/
+
+venv
\ No newline at end of file
diff --git a/.idea/runConfigurations/OBSW_TmTcClient_Service_17_Serial_.xml b/.idea/runConfigurations/OBSW_TmTcClient_Service_17_Serial_.xml
index ff8bcaf..40af93c 100644
--- a/.idea/runConfigurations/OBSW_TmTcClient_Service_17_Serial_.xml
+++ b/.idea/runConfigurations/OBSW_TmTcClient_Service_17_Serial_.xml
@@ -12,8 +12,8 @@
     <option name="ADD_CONTENT_ROOTS" value="true" />
     <option name="ADD_SOURCE_ROOTS" value="true" />
     <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
-    <option name="SCRIPT_NAME" value="C:\Users\Robin\NoSyncDokumente\sourceobsw\tmtc\obsw_tmtc_client.py" />
-    <option name="PARAMETERS" value="-m 3 -s 17 -p -c 1" />
+    <option name="SCRIPT_NAME" value="$PROJECT_DIR$/obsw_tmtc_client.py" />
+    <option name="PARAMETERS" value="-m 3 -s 17 -c 1" />
     <option name="SHOW_COMMAND_LINE" value="false" />
     <option name="EMULATE_TERMINAL" value="true" />
     <option name="MODULE_MODE" value="false" />
diff --git a/obsw_tmtc_client.py b/obsw_tmtc_client.py
index 909736e..1608731 100644
--- a/obsw_tmtc_client.py
+++ b/obsw_tmtc_client.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.8
 """
 @file
     obsw_tmtc_client.py
@@ -8,10 +8,10 @@
     This client was developed by KSat for the SOURCE project to test the on-board software.
     It can be used to to send and receive TMTC packets and TMTC sequences.
 @manual
-Manual installation of crcmod might be needed
+Manual installation of crcmod and pyserial might be needed
     1. Install pip if it is not installed yet
-    2. Install crcmod and all other reqiored packages:
-        Command: pip install crcmod
+    2. Install crcmod and all other required packages:
+        Command: python3.8 -m pip install crcmod
         or use IDE (interpreter settings -> pip in PyCharm)
 
 The script can be used by specifying command line parameters.
-- 
GitLab