1.The setup.py for my package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from cx_Freeze import setup, Executable | |
setup( | |
name = "chen wei lun", | |
version = "3.5", | |
description = "ptt_title_with_page_ex tool.", | |
executables = [Executable("ptt_title_with_page_ex.py", base = "Win32GUI")]) |
2.Typing command in Python's folder by using Terminal
ex:
cd C://....
python setup.py build
Refernect:
https://www.hrwhisper.me/pack-python-3-5-to-exe/
https://www.youtube.com/watch?v=11Q2QADsAEE
0 意見:
張貼留言