py2app不包含“ ttkthemes”

时间:2019-07-17 23:54:34

标签: python python-3.x py2app

我正在尝试使用py2app构建应用程序,它需要ttkthemes。我正在尝试将其包含在setup.py文件中,但无法正常工作。

setup.py

"""
This is a setup.py script generated by py2applet

Usage:
    python setup.py py2app
"""

from setuptools import setup

APP = ['ESMB.py']
DATA_FILES = []
OPTIONS = {'iconfile':'icon.icns',
           'packages': ['tkinter'],
           'includes': ['ttkthemes']
}

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)

0 个答案:

没有答案