-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·86 lines (76 loc) · 2.84 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
80
81
82
83
84
85
86
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <[email protected]>
# date: 2013/03/24
# copy: (C) Copyright 2013 Cadit Inc., see LICENSE.txt
#------------------------------------------------------------------------------
import os, sys, re
from setuptools import setup, find_packages
# require python 2.7+
if sys.hexversion < 0x02070000:
raise RuntimeError('This package requires python 2.7 or better')
heredir = os.path.abspath(os.path.dirname(__file__))
def read(*parts, **kw):
try: return open(os.path.join(heredir, *parts)).read()
except: return kw.get('default', '')
test_dependencies = [
'nose >= 1.2.1',
'coverage >= 3.5.3',
'WebTest >= 1.4.0',
]
dependencies = [
'argparse >= 1.2.1',
'pyramid >= 1.4.2',
'six >= 1.4.1',
]
extras_dependencies = {
'tm': [
'pyramid-tm >= 0.7',
'transaction >= 1.4.1',
]
}
entrypoints = {
}
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Framework :: Pyramid',
'Environment :: Console',
'Environment :: Web Environment',
'Operating System :: OS Independent',
'Topic :: Internet',
'Topic :: Software Development',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'License :: Public Domain',
]
setup(
name = 'pyramid_controllers',
version = read('VERSION.txt', default='0.0.0').strip(),
description = 'A pyramid plugin that provides de-centralized hierarchical object dispatch.',
long_description = read('README.rst'),
classifiers = classifiers,
author = 'Philip J Grabner, Cadit Health Inc',
author_email = '[email protected]',
url = 'http://github.com/cadithealth/pyramid_controllers',
keywords = 'web wsgi pyramid bfg pylons turbogears controller handler object-dispatch request-dispatch',
packages = find_packages(),
platforms = ['any'],
include_package_data = True,
zip_safe = True,
install_requires = dependencies,
extras_require = extras_dependencies,
tests_require = test_dependencies,
test_suite = 'pyramid_controllers',
entry_points = entrypoints,
license = 'MIT (http://opensource.org/licenses/MIT)',
)
#------------------------------------------------------------------------------
# end of $Id$
#------------------------------------------------------------------------------