This repository has been archived by the owner on Aug 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
83 lines (77 loc) · 2.32 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
#!/usr/bin/env python
import os
import sys
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
PY2 = sys.version_info[0] == 2
PY26 = sys.version_info[:2] == (2, 6)
NAME = 'daybed'
DESCRIPTION = 'Form validation and data storage API.'
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
VERSION = open(os.path.join(here, 'VERSION')).read().strip()
AUTHOR = u'Spiral Project'
EMAIL = u'[email protected]'
URL = 'https://{name}.readthedocs.org/'.format(name=NAME)
CLASSIFIERS = ['Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Framework :: Pyramid']
KEYWORDS = ['web',
'cornice',
'couchdb',
'colander',
'pyramid',
'pylons',
'api',
'form',
'angular',
'backbone',
'storage']
PACKAGES = [NAME.replace('-', '_')]
REQUIREMENTS = [
'CouchDB',
'colander',
'cornice',
'elasticsearch',
'hiredis',
'koremutake',
'pyramid',
'pyramid_hawkauth',
'pyramid_multiauth',
'redis',
'setuptools',
'six',
]
DEPENDENCY_LINKS = [
'https://github.com/Natim/couchdb-python/tarball/'
'authorization_header_py26#egg=CouchDB-0.10.1dev',
'https://github.com/ametaireau/koremutake/tarball/'
'py3k#egg=koremutake-1.1.0',
]
ENTRY_POINTS = {
'paste.app_factory': [
'main = daybed:main',
]}
if PY26:
REQUIREMENTS.append('ordereddict')
if __name__ == '__main__': # Don't run setup() when we import this module.
setup(name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=README,
classifiers=CLASSIFIERS,
keywords=' '.join(KEYWORDS),
author=AUTHOR,
author_email=EMAIL,
url=URL,
license='BSD',
packages=PACKAGES,
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS,
dependency_links=DEPENDENCY_LINKS,
entry_points=ENTRY_POINTS)