1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
#!/usr/bin/env python
#
# Copyright (C) 2010 Linaro Limited
#
# Author: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
#
# This file is part of lava-tool.
#
# lava-tool is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation
#
# lava-tool is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with lava-tool. If not, see <http://www.gnu.org/licenses/>.
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__),
author = "Zygmunt Krynicki",
author_email = "zygmunt.krynicki@linaro.org",
packages = find_packages(),
description = "Command line utility for Linaro validation services",
url='https://launchpad.net/lava-tool',
test_suite='lava_tool.tests.test_suite',
license="LGPLv3",
entry_points = """
[console_scripts]
lava-tool = lava_tool.dispatcher:main
[lava_tool.commands]
help = lava_tool.commands.misc:help
auth-add = lava_tool.commands.auth:auth_add
auth-list = lava_tool.commands.auth:auth_list
auth-remove = lava_tool.commands.auth:auth_remove
""",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Topic :: Software Development :: Testing",
],
install_requires = [
'argparse >= 1.1',
],
setup_requires = [
'versiontools >= 1.1',
],
tests_require = [
],
zip_safe = True,
)
|