You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,28 @@ In addition, there is GUI, which is run from the gui.main.run, with the run.py o
8
8
9
9
## Installation
10
10
11
-
The GUI is built on PyQt4, which can not be specified as a real dependency because it is not on PyPi.
12
-
It requires a working Qt4 installation and needs to be installed via system repositories.
13
-
Most python instalations should come with it as spyder also uses it, but maybe very recent installations forgo it for the newer PyQt5, which offers more flexible licensing.
14
-
Maybe a future version will also support PyQt5 or PySide, but at the moment this only works with PyQt4.
15
-
16
-
Download and switch to the extracted directory. Then run
11
+
The GUI is built on PyQt, PyQt4 and PyQt5 both should work.
12
+
However, at least PyQt4 can not be specified as a real dependency because it is not on PyPi.
13
+
Therefore, you should take care of installing those beforehand.
14
+
Most Python installations should come with one of them installed, as the Spyder IDE also uses it.
15
+
16
+
If you use conda (probably the best way to go on Windows) it's best if you install the dependencies through conda, before installing EBT_evaluation.
17
+
This is because the EBT_evalauation whill use pip to resolve its dependencies and you will end up with a mix of conda and pip packages.
This will trigger a depreciation warning, but there is no other way for external dependencies and it has been depreciated but not removed for several years.
20
26
It should install the EBT_evaluation and all its dependencies, including my own modules from github.
21
-
In addition it will create a script/executable called *EBT-evaluation*.
27
+
If your installation uses pip to manage all of pyhton, i.e. you are on Linux, then this command alone should do it all, no need for the conda_requirements.txt.
28
+
29
+
If you installed the conda_requirements beforehand this should only pull mg_* modules and the formlayout modules.
30
+
If it installs additional stuff through pip than that you may want to uninstall those modules with pip and reinstall them using conda.
31
+
32
+
In addition the installation will create a script/executable called *EBT-evaluation*.
22
33
You can use this script/executable to directly run the GUI, on Linux just call EBT-evaluation from the terminal, on Winows the .exe should be in python-directory/Scripts.
23
34
24
35
If pip is somehow unavailable
@@ -31,7 +42,8 @@ However, pip is most likely to get all the dependencies correctly figured out.
31
42
32
43
If none of these work, you can also download the dependencies manually and install them.
33
44
Get the PyGUITools and PyDataProcessing repositories from my github and install them using their respective setup.py.
34
-
Then install the EBTtools and resolve all other dependencies, primarily those should be PyQt4, matplotlib, scipy and pillow.
35
-
The GUI can be run using the creaed *EBT-evaluation* script/executable or using the run.py.
45
+
Then install the EBTtools and resolve all other dependencies, primarily those should be PyQt4/5, matplotlib, scipy and pillow.
46
+
On Python2.7 also future and configparser.
47
+
The GUI can be run using the created *EBT-evaluation* script/executable or using the run.py.
36
48
37
49
If all fails, copy the mg directories in those repositories into the same directory as the run.py and then it should find what it needs.
0 commit comments