-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (17 loc) · 750 Bytes
/
setup.py
File metadata and controls
24 lines (17 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# cx_freeze Windows msi package build script for shufti
# Install python 3 then use pip to install pyqt5 and cx_freeze. Then copy
# this file into the same dir as shufti.py, shufti.ico and cx_freeze and run:
# > python setup.py bdist_msi
from cx_Freeze import setup, Executable
import sys
buildOptions = dict(packages = [], excludes = [])
# base = 'Win32GUI' stops the python console window opening when starting shufti
executables = [
Executable(script='shufti.py', base = 'Win32GUI', icon='shufti.ico')
]
setup(name='shufti',
version = '2.3',
description = 'The Persistent Image Viewer',
author = 'Dan MacDonald',
options = dict(build_exe = buildOptions),
executables = executables)