Бинарный файл команды не найден - snapcraft.yaml

Я пытаюсь создать снимок своего приложения 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.

Я не уверен, где мне разместить свой двоичный файл.

0 ответов

Другие вопросы по тегам