diff mbox

[Branch,~linaro-validation/lava-test/trunk] Rev 73: Use vanilla setuptools instead of DistUtilsExtra

Message ID 20110626122040.15844.76454.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki June 26, 2011, 12:20 p.m. UTC
Merge authors:
  Le Chi Thu le.chi.thu@linaro.org <le.chi.thu@linaro.org>
Related merge proposals:
  https://code.launchpad.net/~le-chi-thu/lava-test/use-setuptools/+merge/65403
  proposed by: Le Chi Thu (le-chi-thu)
  review: Approve - Zygmunt Krynicki (zkrynicki)
  review: Needs Fixing - Paul Larson (pwlars)
------------------------------------------------------------
revno: 73 [merge]
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: lava-test
timestamp: Sun 2011-06-26 14:18:10 +0200
message:
  Use vanilla setuptools instead of DistUtilsExtra
added:
  MANIFEST.in
modified:
  .bzrignore
  README
  setup.py


--
lp:lava-test
https://code.launchpad.net/~linaro-validation/lava-test/trunk

You are subscribed to branch lp:lava-test.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-test/trunk/+edit-subscription
diff mbox

Patch

=== modified file '.bzrignore'
--- .bzrignore	2011-04-16 13:13:04 +0000
+++ .bzrignore	2011-06-21 19:38:29 +0000
@@ -1,5 +1,7 @@ 
 .idea
 .testrepository
+dist
+lava_test.egg-info
 *~
 *.tmp
 *.py[co]

=== added file 'MANIFEST.in'
--- MANIFEST.in	1970-01-01 00:00:00 +0000
+++ MANIFEST.in	2011-06-21 19:38:29 +0000
@@ -0,0 +1,4 @@ 
+include COPYING
+include README
+include .testr.conf
+include bin/lava-test
\ No newline at end of file

=== modified file 'README'
--- README	2011-06-10 04:49:54 +0000
+++ README	2011-06-21 19:38:29 +0000
@@ -2,3 +2,10 @@ 
 ability to define additional tests as needed.  Tests can be
 automatically installed, executed, and the results can be parsed and
 uploaded to an external server.
+
+External dependency
+-------------------
+The following debian packages are needed:
+* python-apt
+* usbutils
+* python-testrepository - for running unit tests
\ No newline at end of file

=== modified file 'setup.py'
--- setup.py	2011-06-10 04:49:54 +0000
+++ setup.py	2011-06-22 19:00:09 +0000
@@ -1,6 +1,6 @@ 
 #!/usr/bin/env python
 
-# Copyright (c) 2010 Linaro
+# Copyright (c) 2010, 2011 Linaro
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -15,22 +15,34 @@ 
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+from setuptools import setup, find_packages
 from abrek import __version__ as version
-import sys
 
-try:
-    from DistUtilsExtra.auto import setup
-except ImportError:
-    print >> sys.stderr, 'To build lava-test you need', \
-                         'https://launchpad.net/python-distutils-extra'
-    sys.exit(1)
 
 setup(
-name='lava-test',
-version=version,
-author='Paul Larson',
-author_email='paul.larson@linaro.org',
-url='https://launchpad.net/lava-test',
-description='Lava test execution framework',
-long_description=open("README").read() + "\n",
-)
+    name='lava-test',
+    version=version,
+    author='Paul Larson',
+    author_email='paul.larson@linaro.org',
+    url='https://launchpad.net/lava-test',
+    description='Lava test execution framework',
+    long_description=open("README").read(),
+    packages=find_packages(),
+    #packages = ['lava_test', 'lava_test.test_definitions'],
+    license="GPL3",
+    test_suite='tests.test_suite',
+    scripts = ['bin/lava-test'],
+    classifiers=[
+        "Development Status :: 3 - Alpha",
+        "Intended Audience :: Developers",
+        "License :: OSI Approved :: GNU General Public License, version 3",
+        "Operating System :: OS Independent",
+        "Programming Language :: Python :: 2.6",
+        "Topic :: Software Development :: Testing",
+    ],
+    install_requires = [
+        "linaro-dashboard-bundle",
+    ],
+    zip_safe=False,
+    include_package_data=True)
+