first commit
This commit is contained in:
28
setup.py
Executable file
28
setup.py
Executable 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'],
|
||||
)
|
||||
Reference in New Issue
Block a user