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:
RemixDev 2020-08-26 22:19:17 +02:00
parent 88fcc37954
commit 5ac85b584d

21
setup.py Normal file
View 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'],
)