Update page 'Day 10 homework - Sloetjes '
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user