如何运行打包的 python .whl 文件的主要功能(或任何端点)。 例如,我创建了包:
entry_points={'group_1': ['run=__main__:main']},
并且有一个文件
\__main__.py
main()
我试着运行命令
> python mypack.whl
can't find '__main__' module in whl