Commit 65d1a237a1fdb575d03466b03b1daf774dac0fe1

Authored by Olli-Pekka Kahilakoski
1 parent a07dc035
Exists in master

Review comment: Move added requirements to optional-requirements.txt

optional-requirements.txt
  1 +aioconsole==0.3.2
1 mido==1.2.10 2 mido==1.2.10
  3 +nest-asyncio==1.5.1
2 python-rtmidi==1.4.9 4 python-rtmidi==1.4.9
3 python-socketio[client]==5.3.0 5 python-socketio[client]==5.3.0
  6 +requests==2.26.0
  7 +uvicorn[standard]==0.15.0
scripts/invesalius_server.py
@@ -4,10 +4,6 @@ @@ -4,10 +4,6 @@
4 # This scripts allows sending events to InVesalius via Socket.IO, mimicking InVesalius's 4 # This scripts allows sending events to InVesalius via Socket.IO, mimicking InVesalius's
5 # internal communication. It can be useful for developing and debugging InVesalius. 5 # internal communication. It can be useful for developing and debugging InVesalius.
6 # 6 #
7 -# Install the requirements by running:  
8 -#  
9 -# pip install aioconsole nest-asyncio python-socketio[client] requests uvicorn[standard]  
10 -#  
11 # Example usage: 7 # Example usage:
12 # 8 #
13 # - (In console window 1) Run the script by: python scripts/invesalius_server.py 5000 9 # - (In console window 1) Run the script by: python scripts/invesalius_server.py 5000