Comment 4 for bug 1531570

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Björn, do me a favor and try this snapcraft.yaml. Does it produce a .snap that works?

name: treac
version: 0
vendor: Bjorn Tillenius <email address hidden>
binaries:
  treacd:
    exec: usr/bin/treac
summary: TREAC - The Treadmill Controller
description: Provides an API for controlling a treadmill on a Raspberry Pi
icon: icon.png

parts:
    treac:
        plugin: python3
        source: git://github.com/bjornt/treac
        filesets:
          no-easy-install-files:
            - -usr/lib/python3/dist-packages/easy-install.pth
            - -usr/lib/python3/dist-packages/pysmbus-0.1.egg-info/SOURCES.txt
            - -usr/lib/python3/dist-packages/pip-8.0.0-py3.4.egg/EGG-INFO/entry_points.txt
        stage:
          - $no-easy-install-files
        snap:
          - $no-easy-install-files
    pysmbus:
        plugin: python3
        source: git://github.com/bjornt/pysmbus
        filesets:
          no-easy-install-files:
            - -usr/lib/python3/dist-packages/easy-install.pth
            - -usr/lib/python3/dist-packages/pysmbus-0.1.egg-info/SOURCES.txt
            - -usr/lib/python3/dist-packages/pip-8.0.0-py3.4.egg/EGG-INFO/entry_points.txt
        stage:
          - $no-easy-install-files
        snap:
          - $no-easy-install-files