-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDEVELOP_README.txt
55 lines (24 loc) · 1.15 KB
/
DEVELOP_README.txt
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
How to run the program:
1) Download the source files
2) Install Python (if not installed).
3) Install the Qt SDK
4) Install PyQt for the above Python and Qt versions
NOTE: Make sure all of the above are for the same architecture (32-bit vs 64-bit).
5) CD into the "src" directory and run: "python softchord.py"
How to compile the program on Windows:
1) Install py2exe for the installed Python version and architecture.
2) CD into the "softchord" directory.
3) Run "python win_setup.py install"
4) Run "python win_setup.py py2exe"
The compiled program will appear in "softchord\dist\"
NOTE: Only step 4 will need to be performed for subsequent builds.
How to compile on Mac OS X:
1) pip install pyinstaller
2) CD into the "softchord" directory.
3) Copy the newly installed "pyinstaller" directory into the softchord
directory
4) python pyinstaller/pyinstaller.py src/softchord.py --onefile --windowed --noconfirm --name "softChord X.Y.Z"
5) cp src/Info.plist dist/softChord\ 0.9.1.app/Contents/Info.plist
6) Copy the database into the dir dist/ directory
See:
http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/