Project

General

Profile

How to install OnkoDICOM application » History » Version 1

Peter Qian, 01/04/2021 09:16 AM

1 1 Peter Qian
h1. How to install OnkoDICOM application
2
3
h2. General Steps:
4
* Ensure you have installed virtualenv with Python 3.7.x
5
* Create a virtual environment like above and then activate the virtual environment
6
* Make sure you install pyinstaller
7
<pre><code class="python">pip install pyinstaller
8
</code>
9
</pre>
10
11
12
Now from here, we will choose the OS and run as follows:
13
14
h2. For Windows Users:
15
16
pyinstaller OnkoDICOM-Windows.spec
17
18
h2. For Linux Users:
19
20
pyinstaller OnkoDICOM-Linux.spec
21
22
h2. For Mac Users:
23
24
pyinstaller OnkoDICOM-Darwin.spec
25
26
Open up the dist folder in the same location as the repository, the distributable application will be in there
27
28
h2. NOTE
29
30
If you are experiencing any issue with opening the application up via the dist folder on Mac, what you have to do is very simple once we have our bundled App we must enter to its content to the tcl folder.
31
32
* cd OnkoDICOM.app/Contents/Resources/tcl
33
* Open up init.tcl and find where it says:
34
* package require -exact Tcl 8.6.8
35
* We must replace it with:
36
* package require -exact Tcl 8.5.9
37
* Once this is done, our application will open normally with a double click.