-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (68 loc) · 2.08 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
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is webapi.
#
# The Initial Developer of the Original Code is
# Mozilla Messaging, Inc..
# Portions created by the Initial Developer are Copyright (C) 2009
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Shane Caraveo <[email protected]> <[email protected]>
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
VERSION = '0.1.0'
setup(
name='WebAPI',
version=VERSION,
description=('Web API.'),
author='Mozilla Labs',
author_email='[email protected]',
url='http://mozillalabs.com/',
install_requires=[
"PasteScript>=1.6.3",
"jsonor", # https://bitbucket.org/mixedpuppy/jsonor
"webob",
"routes",
"beaker",
"decorator",
"docutils",
"nose",
"coverage",
"httplib2",
"python-memcached",
"gunicorn",
"gevent"
],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
package_data={'webapi': ['i18n/*/LC_MESSAGES/*.mo']},
message_extractors={'webapi': [
('**.py', 'python', None),
('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
('public/**', 'ignore', None)]},
zip_safe=False,
paster_plugins=['PasteScript'],
entry_points="""
[paste.app_factory]
main = apibase.wsgiapp:make_app
[paste.app_install]
main = paste.script.appinstall:Installer
""",
)