record-camera-and-screen/csetup.py

22 lines
848 B
Python
Raw Normal View History

2018-04-17 08:11:26 +00:00
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
2018-06-24 14:29:59 +00:00
build_exe_options = { 'include_files':['ffmpeg-shared'], 'build_exe' : 'd:/dev/record/record-win'}
2018-06-16 14:06:56 +00:00
install_exe_options = { 'install_dir' : 'd:/dev/record/record-win', 'build_dir':'build', 'install_exe':'d:\\record-camera-and-screen'}
2018-04-17 08:11:26 +00:00
# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"
executables = [
2018-06-16 14:06:56 +00:00
Executable('RecordWindow.py', base=base, icon = 'resource/gutin.ico')
2018-04-17 08:11:26 +00:00
]
2018-04-18 09:15:20 +00:00
setup( name = "Gutin谷田会议视频录播管理系统",
version = "0.2",
2018-04-17 08:11:26 +00:00
description = "record camera or screen",
options = {"build_exe": build_exe_options},
executables=executables
2018-04-17 08:11:26 +00:00
)