質問編集履歴

1

使用したコードの追加

2020/04/16 12:02

投稿

colorful_39
colorful_39

スコア20

test CHANGED
File without changes
test CHANGED
@@ -20,6 +20,46 @@
20
20
 
21
21
 
22
22
 
23
+ 因みに..
24
+
25
+ ----------------------
26
+
27
+ 「exe化」するときに使った setup.py のコードは下記です。
28
+
29
+
30
+
31
+ import sys
32
+
33
+ from cx_Freeze import setup, Executable
34
+
35
+
36
+
37
+ base = None
38
+
39
+
40
+
41
+ exe = Executable(script = "Go.py", base= "Win32GUI")
42
+
43
+
44
+
45
+ excludes = ["PyQt4","PyQt5","numpy","pandas",
46
+
47
+ "lxml","PyPDF2","pyperclip"]
48
+
49
+
50
+
51
+ setup(name = 'Go',
52
+
53
+ options = {"build_exe": {"excludes": excludes}},
54
+
55
+ version = '0.1',
56
+
57
+ description = 'converter',
58
+
59
+ executables = [exe])
60
+
61
+
62
+
23
63
  環境
24
64
 
25
65
  ----------------