Merge lp:~cprov/core-image-watcher/setup into lp:core-image-watcher

Proposed by Celso Providelo
Status: Merged
Approved by: Thomi Richards
Approved revision: 4
Merged at revision: 4
Proposed branch: lp:~cprov/core-image-watcher/setup
Merge into: lp:core-image-watcher
Diff against target: 50 lines (+41/-0)
2 files modified
.bzrignore (+1/-0)
setup.py (+40/-0)
To merge this branch: bzr merge lp:~cprov/core-image-watcher/setup
Reviewer Review Type Date Requested Status
Thomi Richards (community) Approve
Review via email: mp+254027@code.launchpad.net

Commit message

Basic setup.py for having a fully functional charm.

Description of the change

Basic setup.py for having a fully functional charm.

To post a comment you must log in.
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2015-03-25 03:59:43 +0000
4@@ -0,0 +1,1 @@
5+core_image_watcher.egg-info
6
7=== added file 'setup.py'
8--- setup.py 1970-01-01 00:00:00 +0000
9+++ setup.py 2015-03-25 03:59:43 +0000
10@@ -0,0 +1,40 @@
11+#!/usr/bin/env python3
12+
13+# core-image-watcher
14+# Copyright (C) 2015 Canonical
15+#
16+# This program is free software: you can redistribute it and/or modify
17+# it under the terms of the GNU General Public License as published by
18+# the Free Software Foundation, either version 3 of the License, or
19+# (at your option) any later version.
20+#
21+# This program is distributed in the hope that it will be useful,
22+# but WITHOUT ANY WARRANTY; without even the implied warranty of
23+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24+# GNU General Public License for more details.
25+#
26+# You should have received a copy of the GNU General Public License
27+# along with this program. If not, see <http://www.gnu.org/licenses/>.
28+#
29+
30+import sys
31+assert sys.version_info >= (3,), 'Python 3 is required'
32+
33+from setuptools import find_packages, setup, Extension
34+
35+
36+VERSION = '1.0.0'
37+
38+
39+setup(
40+ name='core-image-watcher',
41+ version=VERSION,
42+ description=('A microservice for watching new ubuntu core images '
43+ 'and dispatch tests'),
44+ author='Canonical CI Engineering Team',
45+ author_email='canonical-ci-engineering@lists.launchpad.net',
46+ url='https://launchpad.net/core-image-watcher',
47+ license='GPLv3',
48+ packages=find_packages(),
49+ scripts=['core-image-watcher.py']
50+)

Subscribers

People subscribed via source and target branches