From f32b6f276457966347ed0d80ec7673ebc1357dc0 Mon Sep 17 00:00:00 2001 From: Adam Israel Date: Tue, 9 Oct 2018 15:17:50 -0400 Subject: [PATCH] Add debian packaging Adds debian packaging, including the vendored version of libjuju Signed-off-by: Adam Israel --- Makefile | 2 ++ juju | 1 + setup.py | 4 ++-- stdeb.cfg | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) create mode 120000 juju create mode 100644 stdeb.cfg diff --git a/Makefile b/Makefile index 4655d33..c63a6ba 100644 --- a/Makefile +++ b/Makefile @@ -9,3 +9,5 @@ test: lint tox lint: tox -e lint +package: + python3 setup.py --command-packages=stdeb.command bdist_deb diff --git a/juju b/juju new file mode 120000 index 0000000..1d37c18 --- /dev/null +++ b/juju @@ -0,0 +1 @@ +modules/libjuju/juju \ No newline at end of file diff --git a/setup.py b/setup.py index 09c0bdf..b27dcbe 100644 --- a/setup.py +++ b/setup.py @@ -29,8 +29,8 @@ setup( 'paramiko', ], include_package_data=True, - maintainer='', - maintainer_email='', + maintainer='Adam Israel', + maintainer_email='adam.israel@canonical.com', description=(''), url='', license='Apache 2', diff --git a/stdeb.cfg b/stdeb.cfg new file mode 100644 index 0000000..c07507b --- /dev/null +++ b/stdeb.cfg @@ -0,0 +1,5 @@ +[DEFAULT] +Suite: xenial +XS-Python-Version: >= 3.5 +Maintainer: Adam Israel +Depends: python3-pip -- 2.25.1