File tree Expand file tree Collapse file tree 2 files changed +67
-24
lines changed Expand file tree Collapse file tree 2 files changed +67
-24
lines changed Original file line number Diff line number Diff line change 1
- # Windows image file caches
2
- Thumbs.db
3
- ehthumbs.db
4
-
5
- # Folder config file
6
- Desktop.ini
7
-
8
- # Recycle Bin used on file shares
9
- $RECYCLE.BIN /
10
-
11
- # Windows Installer files
12
- * .cab
13
- * .msi
14
- * .msm
15
- * .msp
16
-
17
- # =========================
18
- # Operating System Files
19
- # =========================
20
-
21
- # OSX
22
- # =========================
23
-
1
+ # cx_freeze
2
+ build /
3
+ dist /
4
+
5
+ # Windows image file caches
6
+ Thumbs.db
7
+ ehthumbs.db
8
+
9
+ # Folder config file
10
+ Desktop.ini
11
+
12
+ # Recycle Bin used on file shares
13
+ $RECYCLE.BIN /
14
+
15
+ # Windows Installer files
16
+ * .cab
17
+ * .msi
18
+ * .msm
19
+ * .msp
20
+
21
+ # =========================
22
+ # Operating System Files
23
+ # =========================
24
+
25
+ # OSX
26
+ # =========================
27
+
24
28
.DS_Store
25
29
.AppleDouble
26
30
.LSOverride
27
31
28
32
# Icon must ends with two \r.
29
- Icon
33
+ Icon
34
+
30
35
31
36
# Thumbnails
32
37
._ *
Original file line number Diff line number Diff line change
1
+ import sys
2
+ from cx_Freeze import setup , Executable
3
+
4
+ # Dependencies are automatically detected, but it might need
5
+ # fine tuning.
6
+ copyfiles = [
7
+ ('C:\Python34\Lib\site-packages\PyQt5\libEGL.dll' , 'libEGL.dll' )]
8
+ buildOptions = dict (packages = [], excludes = [], include_files = copyfiles )
9
+
10
+ # GUI applications require a different base on Windows (the default is for a
11
+ # console application).
12
+ base = None
13
+ if sys .platform == "win32" :
14
+ base = "Win32GUI"
15
+
16
+ executables = [
17
+ Executable (
18
+ 'TardisDiff.py' ,
19
+ base = base ,
20
+ shortcutName = "TardisDiff" ,
21
+ shortcutDir = "DesktopFolder" ,
22
+ #icon="tardis.ico" Google for a fancy tardis icon until I've made one myself.
23
+ )
24
+ ]
25
+
26
+ options = {
27
+ 'build_exe' : {
28
+ 'include_files' : [],
29
+ 'path' : sys .path + ['modules' ]
30
+ }
31
+ }
32
+
33
+ setup (name = 'TardisDiff' ,
34
+ version = '0.1' ,
35
+ description = 'TardisDiff is a tool to output the time you worked today.' ,
36
+ options = dict (build_exe = buildOptions ),
37
+ executables = executables
38
+ )
You can’t perform that action at this time.
0 commit comments