Add debian packaging 68/6668/1
authorAdam Israel <adam.israel@canonical.com>
Tue, 9 Oct 2018 19:17:50 +0000 (15:17 -0400)
committerAdam Israel <adam.israel@canonical.com>
Tue, 9 Oct 2018 19:17:50 +0000 (15:17 -0400)
Adds debian packaging, including the vendored version of libjuju

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Makefile
juju [new symlink]
setup.py
stdeb.cfg [new file with mode: 0644]

index 4655d33..c63a6ba 100644 (file)
--- 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 (symlink)
index 0000000..1d37c18
--- /dev/null
+++ b/juju
@@ -0,0 +1 @@
+modules/libjuju/juju
\ No newline at end of file
index 09c0bdf..b27dcbe 100644 (file)
--- 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 (file)
index 0000000..c07507b
--- /dev/null
+++ b/stdeb.cfg
@@ -0,0 +1,5 @@
+[DEFAULT]
+Suite: xenial
+XS-Python-Version: >= 3.5
+Maintainer: Adam Israel <adam.israel@canonical.com>
+Depends: python3-pip