name: subiquity
version: git
summary: Ubuntu installer
description: The Ubuntu server installer
confinement: classic

apps:
  subiquity:
    command: usr/bin/subiquity
  console-conf:
    command: usr/bin/console-conf
  probert:
    command: bin/probert

parts:
  subiquity:
    plugin: python
    build-packages: [pkg-config, lsb-release, python3-distutils-extra]
    stage-packages: [curtin, lsb-release, python3-distutils-extra]
    python-packages:
      - urwid
      - pyyaml
      - pyudev
      - attrs
    source: .
    source-type: git
  wrappers:
    plugin: dump
    source: .
    source-type: git
    organize:
      'bin/console-conf-tui': usr/bin/console-conf
      'bin/subiquity-tui': usr/bin/subiquity
    prime:
      - usr/bin
  probert:
    plugin: python
    build-packages: [python-setuptools, libnl-3-dev, libnl-genl-3-dev, libnl-route-3-dev]
    source: https://github.com/CanonicalLtd/probert.git
    source-type: git

name: subiquity
version: git
summary: Ubuntu installer
description: The Ubuntu server installer
confinement: classic

apps:
  subiquity:
    command: usr/bin/subiquity
  console-conf:
    command: usr/bin/console-conf
  probert:
    command: bin/probert

parts:
  subiquity:
    plugin: python
    build-packages: [pkg-config, lsb-release, python3-distutils-extra]
    stage-packages: [curtin, lsb-release, python3-distutils-extra, iso-codes]
    python-packages:
      - urwid
      - pyyaml
      - pyudev
      - attrs
    source: .
    source-type: git
  wrappers:
    plugin: dump
    source: .
    source-type: git
    organize:
      'bin/console-conf-tui': usr/bin/console-conf
      'bin/subiquity-tui': usr/bin/subiquity
    prime:
      - usr/bin
  probert:
    plugin: python
    build-packages: [python-setuptools, libnl-3-dev, libnl-genl-3-dev, libnl-route-3-dev]
    source: https://github.com/CanonicalLtd/probert.git
    source-type: git

Include iso-codes in the snap.
Include iso-codes in the snap.
