Merge lp:~le-chi-thu/lava-test/use-setuptools into lp:lava-test/0.0

Proposed by Le Chi Thu
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 73
Merged at revision: 73
Proposed branch: lp:~le-chi-thu/lava-test/use-setuptools
Merge into: lp:lava-test/0.0
Diff against target: 99 lines (+41/-16)
4 files modified
.bzrignore (+2/-0)
MANIFEST.in (+4/-0)
README (+7/-0)
setup.py (+28/-16)
To merge this branch: bzr merge lp:~le-chi-thu/lava-test/use-setuptools
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Paul Larson (community) Needs Fixing
Review via email: mp+65403@code.launchpad.net

Description of the change

use setuptools instead of DistUtilsExtra

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Looks good!

+1

review: Approve
Revision history for this message
Paul Larson (pwlars) wrote :

89 + "License :: OSI Approved :: GNU Affero General Public License v3",
90 + "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
Since when is lava-test agpl3 & LGPL?

review: Needs Fixing
73. By Le Chi Thu <email address hidden> <email address hidden>

Updated license info

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2011-04-16 13:13:04 +0000
3+++ .bzrignore 2011-06-22 19:02:10 +0000
4@@ -1,5 +1,7 @@
5 .idea
6 .testrepository
7+dist
8+lava_test.egg-info
9 *~
10 *.tmp
11 *.py[co]
12
13=== added file 'MANIFEST.in'
14--- MANIFEST.in 1970-01-01 00:00:00 +0000
15+++ MANIFEST.in 2011-06-22 19:02:10 +0000
16@@ -0,0 +1,4 @@
17+include COPYING
18+include README
19+include .testr.conf
20+include bin/lava-test
21\ No newline at end of file
22
23=== modified file 'README'
24--- README 2011-06-10 04:49:54 +0000
25+++ README 2011-06-22 19:02:10 +0000
26@@ -2,3 +2,10 @@
27 ability to define additional tests as needed. Tests can be
28 automatically installed, executed, and the results can be parsed and
29 uploaded to an external server.
30+
31+External dependency
32+-------------------
33+The following debian packages are needed:
34+* python-apt
35+* usbutils
36+* python-testrepository - for running unit tests
37\ No newline at end of file
38
39=== modified file 'setup.py'
40--- setup.py 2011-06-10 04:49:54 +0000
41+++ setup.py 2011-06-22 19:02:10 +0000
42@@ -1,6 +1,6 @@
43 #!/usr/bin/env python
44
45-# Copyright (c) 2010 Linaro
46+# Copyright (c) 2010, 2011 Linaro
47 #
48 # This program is free software: you can redistribute it and/or modify
49 # it under the terms of the GNU General Public License as published by
50@@ -15,22 +15,34 @@
51 # You should have received a copy of the GNU General Public License
52 # along with this program. If not, see <http://www.gnu.org/licenses/>.
53
54+from setuptools import setup, find_packages
55 from abrek import __version__ as version
56-import sys
57
58-try:
59- from DistUtilsExtra.auto import setup
60-except ImportError:
61- print >> sys.stderr, 'To build lava-test you need', \
62- 'https://launchpad.net/python-distutils-extra'
63- sys.exit(1)
64
65 setup(
66-name='lava-test',
67-version=version,
68-author='Paul Larson',
69-author_email='paul.larson@linaro.org',
70-url='https://launchpad.net/lava-test',
71-description='Lava test execution framework',
72-long_description=open("README").read() + "\n",
73-)
74+ name='lava-test',
75+ version=version,
76+ author='Paul Larson',
77+ author_email='paul.larson@linaro.org',
78+ url='https://launchpad.net/lava-test',
79+ description='Lava test execution framework',
80+ long_description=open("README").read(),
81+ packages=find_packages(),
82+ #packages = ['lava_test', 'lava_test.test_definitions'],
83+ license="GPL3",
84+ test_suite='tests.test_suite',
85+ scripts = ['bin/lava-test'],
86+ classifiers=[
87+ "Development Status :: 3 - Alpha",
88+ "Intended Audience :: Developers",
89+ "License :: OSI Approved :: GNU General Public License, version 3",
90+ "Operating System :: OS Independent",
91+ "Programming Language :: Python :: 2.6",
92+ "Topic :: Software Development :: Testing",
93+ ],
94+ install_requires = [
95+ "linaro-dashboard-bundle",
96+ ],
97+ zip_safe=False,
98+ include_package_data=True)
99+

Subscribers

People subscribed via source and target branches