привязка двоичной привязки приложения

У вас есть ключ и отпечаток? Запустите:

ssh-keygen -lf key.pub

против ключа, чтобы получить отпечаток.

ssh-keygen ссылка: http://www.manpagez.com/man/1/ssh-keygen/

0
задан 2 June 2017 в 14:15

3 ответа

Проект, который вы используете, не содержит setup.py или какой-либо системы сборки, поэтому Snapcraft не знает, что вы хотите установить. Вы можете использовать setuptools и добавить setup.py в свой проект или сохранить его так, как он есть, и сказать Snapcraft точно, что вы хотите установить, например (обратите внимание на использование ключевого слова install): [!d0 ]

name: phockup
version: '1.2.0'
summary: Photo and video sorting tool
description: |
  Media sorting and backup tool to organize photos and videos from your camera in folders by year, month and day.
  The software will collect all files from the input directory and transfer them to the output directory without
  changing the files content. It will only rename the files and place them in the proper directory for the year, month and day.
grade: devel
confinement: devmode

apps:
  phockup:
    command: phockup

parts:
  phockup:
    plugin: python
    source: https://github.com/ivandokov/phockup.git
    source-tag: v1.2.0
    install: |
      mkdir -p $SNAPCRAFT_PART_INSTALL/bin
      cp phockup.py $SNAPCRAFT_PART_INSTALL/bin/phockup
2
ответ дан 22 May 2018 в 21:57
  • 1
    Я использовал путь install, и он отлично работает! Спасибо. Теперь я должен выяснить, как добавить exiftool в качестве зависимости, и я готов – Ivan Dokov 2 June 2017 в 15:13
  • 2
    Кажется, мне нужно будет создать еще одну тему , потому что я не могу понять это сам. – Ivan Dokov 2 June 2017 в 15:28

Проект, который вы используете, не содержит setup.py или какой-либо системы сборки, поэтому Snapcraft не знает, что вы хотите установить. Вы можете использовать setuptools и добавить setup.py в свой проект или сохранить его так, как он есть, и сказать Snapcraft точно, что вы хотите установить, например (обратите внимание на использование ключевого слова install):

name: phockup version: '1.2.0' summary: Photo and video sorting tool description: | Media sorting and backup tool to organize photos and videos from your camera in folders by year, month and day. The software will collect all files from the input directory and transfer them to the output directory without changing the files content. It will only rename the files and place them in the proper directory for the year, month and day. grade: devel confinement: devmode apps: phockup: command: phockup parts: phockup: plugin: python source: https://github.com/ivandokov/phockup.git source-tag: v1.2.0 install: | mkdir -p $SNAPCRAFT_PART_INSTALL/bin cp phockup.py $SNAPCRAFT_PART_INSTALL/bin/phockup
2
ответ дан 18 July 2018 в 12:18

Проект, который вы используете, не содержит setup.py или какой-либо системы сборки, поэтому Snapcraft не знает, что вы хотите установить. Вы можете использовать setuptools и добавить setup.py в свой проект или сохранить его так, как он есть, и сказать Snapcraft точно, что вы хотите установить, например (обратите внимание на использование ключевого слова install):

name: phockup version: '1.2.0' summary: Photo and video sorting tool description: | Media sorting and backup tool to organize photos and videos from your camera in folders by year, month and day. The software will collect all files from the input directory and transfer them to the output directory without changing the files content. It will only rename the files and place them in the proper directory for the year, month and day. grade: devel confinement: devmode apps: phockup: command: phockup parts: phockup: plugin: python source: https://github.com/ivandokov/phockup.git source-tag: v1.2.0 install: | mkdir -p $SNAPCRAFT_PART_INSTALL/bin cp phockup.py $SNAPCRAFT_PART_INSTALL/bin/phockup
2
ответ дан 24 July 2018 в 19:56

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

Похожие вопросы: