-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (69 loc) · 2.43 KB
/
setup.py
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
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
except IOError:
README = CHANGES = ''
install_requires=[
'cryptacular',
'pam',
'Paste',
'PasteScript',
'pyramid',
'WebOb',
]
if sys.version < '2.7':
install_requires.append('argparse')
tests_require = install_requires + ['mock']
if sys.version < '2.7':
tests_require.append('unittest2')
testing_extras = tests_require + ['nose', 'coverage']
setup(name='octomotron',
version='0.2',
description=('A tool for rapid deployment of multiple evluation copies '
'of a web application based on different git branches.'),
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"License :: Repoze Public License",
],
keywords='web wsgi pylons',
author="Chris Rossi",
url="http://pylonsproject.org",
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires = install_requires,
tests_require = tests_require,
test_suite="octomotron.tests",
extras_require={
'testing': testing_extras},
entry_points = """\
[paste.app_factory]
main = octomotron.webui.application:Application
[console_scripts]
octomotron = octomotron.main:main
[octomotron.script]
adduser = octomotron.webui.htpasswd:config_parser
approve = octomotron.approve:config_parser
remove = octomotron.remove:config_parser
rm = octomotron.remove:config_parser
serve = octomotron.serve:config_parser
deploy = octomotron.deploy:config_parser
update = octomotron.update:config_parser
example = octomotron.example:config_parser
[octomotron.auth_policy]
promiscuous = octomotron.webui.auth:config_promiscuous_auth_policy
basic_pam = octomotron.webui.auth:config_basic_pam_auth_policy
basic_local = octomotron.webui.auth:config_basic_local_auth_policy
"""
)