-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.01 KB
/
Copy pathsetup.py
File metadata and controls
38 lines (34 loc) · 1.01 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
33
34
35
36
37
38
"""
setup.py for py2app
Packages APKM Repackager as a macOS application
"""
from setuptools import setup
APP = ['main.py']
DATA_FILES = [
('configs', ['configs/default.json', 'configs/xiaomi-tv.json']),
]
OPTIONS = {
'argv_emulation': True,
'packages': ['PyQt6', 'pyaxmlparser'],
'includes': ['lib', 'ui'],
'iconfile': None, # Add your .icns file here if you have one
'plist': {
'CFBundleName': 'APKM Repackager',
'CFBundleDisplayName': 'APKM Repackager',
'CFBundleIdentifier': 'com.apkmrepackager.app',
'CFBundleVersion': '1.0.0',
'CFBundleShortVersionString': '1.0.0',
'NSHumanReadableCopyright': '© 2026 APKM Repackager Project',
'LSMinimumSystemVersion': '10.14.0',
}
}
setup(
name='APKM Repackager',
version='1.0.0',
description='Convert APKM files to APK files for Android TV',
author='APKM Repackager Project',
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)