first commit

This commit is contained in:
编码猿
2024-09-27 01:20:28 +08:00
commit ddc91bf4e2
137 changed files with 4017 additions and 0 deletions

28
setup.py Executable file
View File

@@ -0,0 +1,28 @@
from app.config import Config
import time
from setuptools import setup
APP = ['__main__.py']
DATA_FILES = []
OPTIONS = {
'argv_emulation': True,
'iconfile': 'app/res/img/FaceUnlock.icns',
'plist': {
'CFBundleName': Config.app_name,
'CFBundleDisplayName': Config.app_name,
'CFBundleGetInfoString': Config.github_page,
'CFBundleIdentifier': Config.app_name,
'CFBundleVersion': Config.version,
'CFBundleShortVersionString': Config.version,
'NSHumanReadableCopyright': "Copyright © %d, %s, All Rights Reserved" % (
time.localtime().tm_year, Config.author),
'LSUIElement': True,
}
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app', 'rumps', 'numpy', 'requests', 'pyobjc-framework-Quartz'],
)