-
Notifications
You must be signed in to change notification settings - Fork 0
/
HOW TO.txt
77 lines (47 loc) · 2.13 KB
/
HOW TO.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
>------------------------------------------------------------------
>--------------------------- HOW TO ---------------------------
>------------------------------------------------------------------
If you have not done the steps in the README.txt file, please do so before anything.
Otherwise, I hope this HOW TO document will provide you the answers you're looking for
#######################################
### HOW TO: Choose the apps that are launched?
----------------------------------------
Open "GetReadyToWork.py" file and just change "AppsToExecute" array to put there the paths to apps you want
On windows, choose from : %ProgramData%\Microsoft\Windows\Start Menu\Programs
#######################################
### HOW TO: Create the executable ?
----------------------------------------
If you do not know how to launch a python script or prefer to use an executable file to use it,
Follow instructions below:
### 1) Requirements
You'll need either cx_Freeze (and idna) or pyinstaller
If you do not have any of them installed on your machine, just chose one and refer to the "Using" part below.
Or just install requirements
#### (A)---------->Using cx_Freeze and idna:
##### Windows:
open a cmd and type:
pip install cx_Freeze
pip install idna
##### Linux:
open a terminal and type:
pip install cx_Freeze
pip install idna
You will also need to install patchelf to generate the executable:
To install patchelf in **debian/ubuntu**:
sudo apt-get install patchelf
To install patchelf in **fedora**:
dnf install patchelf
doc: https://cx-freeze.readthedocs.io/en/latest/installation.html
##### MacOS:
Not researched yet
#### (B)---------->Using pyinstaller :
open a cmd and type:
pip install -U pyinstaller
### 2) Creating the executable
From a cmd in the GetReadyToWork foler, simply type
(A)---------->Using cx_Freeze and idna:
python setup.py build
Your bundled application should now be available in the "build" folder.
(B)---------->Using pyinstaller
pyinstaller GetReadyToWork.py
Your bundled application should now be available in the "dist" folder.