From patchwork Sun Jun 26 12:20:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 2317 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id BE9C823F3D for ; Sun, 26 Jun 2011 12:20:44 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 6F33DA18588 for ; Sun, 26 Jun 2011 12:20:44 +0000 (UTC) Received: by qwb8 with SMTP id 8so2918142qwb.11 for ; Sun, 26 Jun 2011 05:20:44 -0700 (PDT) Received: by 10.229.23.69 with SMTP id q5mr3685826qcb.249.1309090843818; Sun, 26 Jun 2011 05:20:43 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.230.139 with SMTP id jm11cs27924qcb; Sun, 26 Jun 2011 05:20:42 -0700 (PDT) Received: by 10.216.50.134 with SMTP id z6mr1370503web.52.1309090841769; Sun, 26 Jun 2011 05:20:41 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id k64si9400206weq.9.2011.06.26.05.20.41; Sun, 26 Jun 2011 05:20:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QaoKO-0007ho-Gm for ; Sun, 26 Jun 2011 12:20:40 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 1EB842E8914 for ; Sun, 26 Jun 2011 12:20:40 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-test X-Launchpad-Branch: ~linaro-validation/lava-test/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 73 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-test/trunk] Rev 73: Use vanilla setuptools instead of DistUtilsExtra Message-Id: <20110626122040.15844.76454.launchpad@loganberry.canonical.com> Date: Sun, 26 Jun 2011 12:20:40 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13265"; Instance="initZopeless config overlay" X-Launchpad-Hash: aa520fa13e687b9f5b86f0a942c91fd5f35ccc35 Merge authors: Le Chi Thu 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 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 === 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 . +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) +