-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevelopement_notes.txt
More file actions
executable file
·57 lines (35 loc) · 1.35 KB
/
developement_notes.txt
File metadata and controls
executable file
·57 lines (35 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
===== Profiling
-m cProfile -o timeStats.profile
python3 -m cProfile -o timeStats.profile two_site_fit_chi2_sigma=0.052_4x4-Copy1.py
pip3 install pyprof2calltree --user
pyprof2calltree -i timeStats.profile -k
pyreverse3 -A -S -o png -p Pyreverse PyFDD/
==== QT designer
qt-designer is not the same at qt-creator
to run it install sudo apt-get install qttools5-dev-tools
and run:
$ designer
or
$ /usr/lib/x86_64-linux-gnu/qt5/bin/designer
dependencies
setuptools +++
wheel +++
seaborn
numdifftools
pyqt5==5.9.2
===== PyInstaller =====
Install first python3.8 python3.8-dev pip
pyinstaller .\pyfdd\__main__.py --windowed --onefile --icon .\images\icon.ico --name PyFDD
# On windows:
python -m venv env
env\Scrips\activate.bat
pip install https://github.com/edbosne/pyfdd/archive/master.zip
pip install pyinstaller
python3.8 -m PyInstaller ./pyfdd/__main__.py --windowed --onefile --icon ./images/icon.ico --name PyFDD
===== Install branch =====
python -m pip install https://github.com/edbosne/pyfdd/archive/qtui.zip
===== Packages =====
PyQt5 under 5.14.* has problems compiling for windows. Use pyqt5 == 5.9.2 or pyqt5 >= 5.15.0.
PyQt5 <5.15.0 has ui scalling problems on linux.
Matplotlib==3.4.0 has problems compiling for windows (https://github.com/pyinstaller/pyinstaller/issues/5567)
Matplotlib<3.3.0 causes problems when replotting a contour datapattern.