0

我正在尝试创建我的 Python 应用程序的快照,但它说它找不到二进制文件这是我的snapcraft.yaml

name: pyapireference
version: '0.1.50'
summary: PyAPIReference
description: |
  PyAPIReference is a GUI application to inspect Python modules, 
  generate API references in markdown, edit and preview them.
base: core20
grade: stable
confinement: devmode
parts:
  pyapireference:
    plugin: python
    source: .
apps:
  pyapireference:
    command: bin/PyAPIReference

这是我的树布局的外观:

assets
   ...
docs
   ...
bin
   PyAPIReference
pyapireference
   README.md
   inspect_object.py
   tree_to_markdown.py
   extra.py
   ui
     ...
example.py
README.md
LICENSE
CHANGELOG.md
MANIFEST.in
main.spec
requirements.txt
main.py
setup.py
snapcraft.yaml

我得到的错误是:

Failed to generate snap metadata: The specified command 'bin/PyAPIReference' defined in the app 'pyapireference' does not exist.
Ensure that 'bin/PyAPIReference' is installed with the correct path.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

我不确定我应该在哪里放置我的二进制文件。

4

0 回答 0