Mercurial > hg > pub > prymula > scripts
comparison cover2musc/setup.py @ 0:dcd610585610
INIT
author | prymula <prymula76@outlook.com> |
---|---|
date | Thu, 21 Sep 2023 22:32:14 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:dcd610585610 |
---|---|
1 #setup.py | |
2 from distutils.sysconfig import get_python_lib | |
3 from os.path import join | |
4 from glob import glob | |
5 from cx_Freeze import setup, Executable | |
6 | |
7 # Basically just copy all of the CEF distribution into the installer | |
8 # I have only tested this on windows | |
9 cefPath = join(get_python_lib(), "cefpython3") | |
10 CEF_INCLUDES = glob(join(cefPath, "*")) | |
11 #CEF_INCLUDES.remove(join(cefPath, "examples")) | |
12 | |
13 setup( | |
14 name = "cover2music", | |
15 version = "20210428", | |
16 options = { | |
17 "build_exe": { | |
18 'packages': ["os","gi","gi.repository","base64","mutagen.oggvorbis","mutagen.flac","mutagen.mp3","mutagen.id3"], | |
19 'include_files': CEF_INCLUDES + ['cover2music.png'], | |
20 'include_files': CEF_INCLUDES, | |
21 | |
22 'include_msvcr': True, | |
23 }}, | |
24 #executables = [Executable("main.py", base="Win32GUI")] | |
25 #executables = [Executable("main.py", base = "Win32GUI"), icon = "C:/Program Files/iNTMI/assets/images/programIcon.ico")] | |
26 executables = [Executable("main.py", base = "Win32GUI"), icon = "cover2music.ico")] | |
27 | |
28 | |
29 ) |