Python 如何使用PyInstaller将cli应用程序转换为exe
我为这个问题道歉,但我对Python还不熟悉。我使用创建了一个小型cli应用程序 这是本项目的结构: Setup.py:Python 如何使用PyInstaller将cli应用程序转换为exe,python,python-3.x,pyinstaller,Python,Python 3.x,Pyinstaller,我为这个问题道歉,但我对Python还不熟悉。我使用创建了一个小型cli应用程序 这是本项目的结构: Setup.py: from setuptools import setup, find_packages setup( name='ru', version='0.0.1', packages=find_packages(), install_requires=['Click'], include_package_data=True, entry_points=''' [c
from setuptools import setup, find_packages
setup(
name='ru',
version='0.0.1',
packages=find_packages(),
install_requires=['Click'],
include_package_data=True,
entry_points='''
[console_scripts]
ru=ru.cli:cli
''',
)
我可以使用以下命令将应用程序更改为exe文件吗
谢谢你到目前为止你都试了些什么?您是否查阅过Pyinstaller文档?其中有一节是关于“入门”的