Update page 'Day 10 homework - Sloetjes '

xuanyi.wang
2023-04-20 00:57:56 +02:00
parent fdc543c659
commit 83f0f1202c
+1 -6
@@ -122,7 +122,7 @@ Module directory histogram:
**6. Extra credit: use the freeze utility to turn the module-inspector script into a real app.**
###### setup.py
###### setup.py:
```
import sys
from cx_Freeze import setup, Executable
@@ -130,11 +130,6 @@ from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {"packages": ["os"], "excludes": ["tkinter"]}
# GUI applications require a different base on Windows (the default is for a console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup(
name="Module Inspector",
version="1.0",