-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (28 loc) · 1 KB
/
setup.py
File metadata and controls
32 lines (28 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['main.py']
DATA_FILES = [ ('sounds', ['sounds/a.mp3']), # sounds 디렉토리의 모든 mp3 파일
('', ['keyboard_mapping_t.json'])] # 키 매핑 파일
OPTIONS = {
'packages': ['pyaudio', 'logging', 'json', 'os', 'threading', 'time', 'numpy', 'pynput', 'pydub'],
'plist': {
'CFBundleName': '키보드 사운드 커스터마이저',
'CFBundleDisplayName': '키보드 사운드 커스터마이저',
'CFBundleGetInfoString': '키보드 사운드를 커스터마이징하는 애플리케이션',
'CFBundleIdentifier': 'com.yourdomain.keyboardsound',
'CFBundleVersion': '1.0.0',
'CFBundleShortVersionString': '1.0.0',
'NSHumanReadableCopyright': '© 2024 Your Name',
'NSHighResolutionCapable': True,
}
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)