from setuptools import setup APP = ['app.py'] DATA_FILES = [] OPTIONS = { 'argv_emulation': True, 'packages': [ 'streamlit', 'numpy', 'pandas', 'networkx', 'openpyxl', 'uuid', 'streamlit_antd_components', 'st_aggrid', 'pygwalker', 'streamlit_monaco', 'streamlit_agraph', ], } setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], )