diff mbox

[Branch,~linaro-validation/lava-scheduler/trunk] Rev 7: Use versiontools in setup.py

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

Commit Message

Zygmunt Krynicki June 23, 2011, 11:47 a.m. UTC
------------------------------------------------------------
revno: 7
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: lava-scheduler
timestamp: Thu 2011-06-23 13:45:55 +0200
message:
  Use versiontools in setup.py
modified:
  setup.py


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

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

Patch

=== modified file 'setup.py'
--- setup.py	2011-06-13 04:25:04 +0000
+++ setup.py	2011-06-23 11:45:55 +0000
@@ -23,21 +23,19 @@ 
 
 setup(
     name='lava-scheduler',
-    version="1.0",
+    version=":versiontools:lava_scheduler_app:__version__",
     author="Michael Hudson-Doyle",
     author_email="michael.hudson@linaro.org",
     packages=find_packages(),
     license="AGPL",
     description="LAVA Scheduler Application",
-    entry_points = """
-        [lava_server.extensions]
-        scheduler = lava_scheduler_app.extension:SchedulerExtension
-        """,
-    long_description="""
-    XXX
+    entry_points="""
+    [lava_server.extensions]
+    scheduler = lava_scheduler_app.extension:SchedulerExtension
     """,
     install_requires=[
-        "lava-server",
-        ],
+        "lava-server >= 0.1"],
+    setup_requires=[
+        "versiontools >= 1.3.1"],
     zip_safe=False,
     include_package_data=True)