From patchwork Thu Jun 23 10:56:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 2193 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 4D3CD23F7C for ; Thu, 23 Jun 2011 10:56:21 +0000 (UTC) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.216.173]) by fiordland.canonical.com (Postfix) with ESMTP id 14A36A182D1 for ; Thu, 23 Jun 2011 10:56:20 +0000 (UTC) Received: by qyk10 with SMTP id 10so3707904qyk.11 for ; Thu, 23 Jun 2011 03:56:20 -0700 (PDT) Received: by 10.229.117.95 with SMTP id p31mr1418370qcq.97.1308826580255; Thu, 23 Jun 2011 03:56:20 -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 jm11cs14488qcb; Thu, 23 Jun 2011 03:56:19 -0700 (PDT) Received: by 10.216.140.139 with SMTP id e11mr3104367wej.63.1308826578842; Thu, 23 Jun 2011 03:56:18 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id o80si3496625weq.34.2011.06.23.03.56.18; Thu, 23 Jun 2011 03:56:18 -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 1QZha6-0002zn-7g for ; Thu, 23 Jun 2011 10:56:18 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 37ADB2E8019 for ; Thu, 23 Jun 2011 10:56:18 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-tool X-Launchpad-Branch: ~linaro-validation/lava-tool/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 158 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-tool/trunk] Rev 158: Be pip friendly Message-Id: <20110623105618.22494.5822.launchpad@loganberry.canonical.com> Date: Thu, 23 Jun 2011 10:56:18 -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: fef9ab75818450783f6fd749e1b91e3094d513b1 ------------------------------------------------------------ revno: 158 committer: Zygmunt Krynicki branch nick: trunk timestamp: Thu 2011-06-23 12:20:54 +0200 message: Be pip friendly modified: setup.py --- lp:lava-tool https://code.launchpad.net/~linaro-validation/lava-tool/trunk You are subscribed to branch lp:lava-tool. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-tool/trunk/+edit-subscription === modified file 'setup.py' --- setup.py 2011-06-17 13:26:55 +0000 +++ setup.py 2011-06-23 10:20:54 +0000 @@ -19,20 +19,11 @@ # along with lava-tool. If not, see . from setuptools import setup, find_packages -try: - import versiontools -except ImportError: - print "This package requires python-versiontools to be configured" - print "See: http://packages.python.org/versiontools/installation.html" - raise - - -import lava_tool setup( name='lava-tool', - version=versiontools.format_version(lava_tool.__version__), + version=":versiontools:lava_tool:__version__", author="Zygmunt Krynicki", author_email="zygmunt.krynicki@linaro.org", packages=find_packages(), @@ -60,7 +51,7 @@ 'argparse >= 1.1', 'keyring'], setup_requires=[ - 'versiontools >= 1.1'], + 'versiontools >= 1.3.1'], tests_require=[ 'mocker >= 1.0'], zip_safe=True)