Merge ~pwlars/testflinger-cli:setup into testflinger-cli:master

Proposed by Paul Larson
Status: Merged
Approved by: Paul Larson
Approved revision: e10203a00dc6246d42ed5b7d1321a37caa3802b6
Merged at revision: e10203a00dc6246d42ed5b7d1321a37caa3802b6
Proposed branch: ~pwlars/testflinger-cli:setup
Merge into: testflinger-cli:master
Prerequisite: ~pwlars/testflinger-cli:prototype-cli
Diff against target: 39 lines (+33/-0)
1 file modified
setup.py (+33/-0)
Reviewer Review Type Date Requested Status
Paul Larson Approve
Review via email: mp+315255@code.launchpad.net

Description of the change

Add setup.py

To post a comment you must log in.
Revision history for this message
Paul Larson (pwlars) wrote :

I'd like to start pushing some more stuff, and I've been running with this successfully over the weekend, happy to take any feedback and fix problems if anyone spots something though.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/setup.py b/setup.py
2new file mode 100755
3index 0000000..9e45908
4--- /dev/null
5+++ b/setup.py
6@@ -0,0 +1,33 @@
7+#!/usr/bin/env python
8+# Copyright (C) 2017 Canonical
9+#
10+# This program is free software: you can redistribute it and/or modify
11+# it under the terms of the GNU General Public License as published by
12+# the Free Software Foundation, either version 3 of the License, or
13+# (at your option) any later version.
14+#
15+# This program is distributed in the hope that it will be useful,
16+# but WITHOUT ANY WARRANTY; without even the implied warranty of
17+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+# GNU General Public License for more details.
19+#
20+# You should have received a copy of the GNU General Public License
21+# along with this program. If not, see <http://www.gnu.org/licenses/>.
22+#
23+from setuptools import setup
24+
25+INSTALL_REQUIRES = ['click', 'requests']
26+TEST_REQUIRES = []
27+
28+setup(
29+ name='testflinger-cli',
30+ version='0.1',
31+ description='CLI tool for working with testflinger',
32+ packages=['testflinger_cli'],
33+ zip_safe=False,
34+ install_requires=INSTALL_REQUIRES,
35+ test_suite='testflinger_cli.tests',
36+ tests_require=TEST_REQUIRES,
37+ scripts=['testflinger-cli'],
38+)
39+

Subscribers

People subscribed via source and target branches