from setuptools import setup
import setuptools
APP = ['EDWTON.py']
DATA_FILES = ['edwton_logotipo.icns']
OPTIONS = {
'iconfile':'edwton_logotipo.icns',
'argv_emulation': True,
'packages': ["certifi","distutils","requests", "discord", "datetime", "pickle"],
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=[' py2app'],
)
Контекст: я пытаюсь создать приложение с py2app, и у меня эта ошибка
ImportError: cannot import name 'USER_BASE' from 'site' (/Users/mike/Desktop/EDWTONFILE/dist/EDWTON.app/Contents/Resources/site.py)