-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·86 lines (79 loc) · 2.01 KB
/
setup.py
File metadata and controls
executable file
·86 lines (79 loc) · 2.01 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#! /usr/bin/env python
# Copyright 2015 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.rst")) as f:
README = f.read()
with open(os.path.join(here, "NEWS")) as f:
README += "\n\n" + f.read()
requires = [
"celery",
"contextlib2",
"cornice",
"gevent[monitor]",
"lazr.sshserver>=0.1.7",
"Paste",
"pygit2>=0.28.1,<1.1.0",
"python-openid2",
"PyYAML",
"statsd",
"Twisted[conch_nacl]",
"waitress",
"zope.interface",
]
test_requires = [
"coverage",
"docutils",
"extras",
"fixtures",
"testscenarios",
"testtools",
"webtest",
]
deploy_requires = [
"envdir",
"gunicorn",
]
docs_requires = {
"sphinx",
}
setup(
name="turnip",
version="0.1.1",
packages=[
"turnip.%s" % package
for package in find_packages("turnip", exclude=["*.tests", "tests"])
],
include_package_data=True,
zip_safe=False,
maintainer="LAZR Developers",
maintainer_email="lazr-developers@lists.launchpad.net",
description="turnip",
long_description=README,
long_description_content_type="text/x-rst",
license="AGPL v3",
url="https://launchpad.net/turnip",
download_url="https://launchpad.net/turnip/+download",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
install_requires=requires,
tests_require=test_requires,
extras_require=dict(
test=test_requires,
deploy=deploy_requires,
docs=docs_requires,
),
test_suite="turnip",
entry_points="""\
[paste.app_factory]
main = turnip.api:main
""",
paster_plugins=["pyramid"],
)