mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-01-01 12:26:13 +00:00
Added setup.py for making an .app macOS app using py2app
Still doesn't work, as it crashes with: OSError: Cannot load native module 'Cryptodome.Cipher._raw_ecb'
This commit is contained in:
parent
88fcc37954
commit
5ac85b584d
21
setup.py
Normal file
21
setup.py
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
"""
|
||||||
|
This is a setup.py script generated by py2applet
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
python setup.py py2app
|
||||||
|
"""
|
||||||
|
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
APP = ['deemix-pyweb.py']
|
||||||
|
DATA_FILES = ['icon.icns', 'webui/public']
|
||||||
|
OPTIONS = {
|
||||||
|
'iconfile':'icon.icns'
|
||||||
|
}
|
||||||
|
|
||||||
|
setup(
|
||||||
|
app=APP,
|
||||||
|
data_files=DATA_FILES,
|
||||||
|
options={'py2app': OPTIONS},
|
||||||
|
setup_requires=['py2app'],
|
||||||
|
)
|
Loading…
Reference in a new issue