server-share/setup.py

76 строки
2.2 KiB
Python
Исходник Обычный вид История

2010-11-04 02:18:18 +03:00
# ***** 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 Raindrop.
#
# 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):
#
2010-09-01 11:41:39 +04:00
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='linkdrop',
2010-12-14 23:49:35 +03:00
version='0.1.6.1',
2010-09-01 11:41:39 +04:00
description='',
author='',
author_email='',
url='',
install_requires=[
"Pylons>=1.0",
"SQLAlchemy>=0.5",
2010-09-02 02:13:03 +04:00
"docutils",
2010-09-02 06:20:55 +04:00
"nose",
"httplib2",
"oauth2",
2010-09-04 00:23:02 +04:00
"python-dateutil",
"python-openid",
2010-09-25 00:53:19 +04:00
"python-memcached",
2010-09-04 00:31:45 +04:00
"twitter",
"gdata", # google api support
"sqlalchemy-migrate>=0.5.4",
2010-09-01 11:41:39 +04:00
],
setup_requires=["PasteScript>=1.6.3"],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
package_data={'linkdrop': ['i18n/*/LC_MESSAGES/*.mo']},
message_extractors={'linkdrop': [
('**.py', 'python', None),
('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
('public/**', 'ignore', None)]},
2010-09-01 11:41:39 +04:00
zip_safe=False,
paster_plugins=['PasteScript', 'Pylons'],
entry_points="""
[paste.app_factory]
main = linkdrop.config.middleware:make_app
[paste.filter_app_factory]
csrf = linkdrop.csrf:make_csrf_filter_app
dbgp = linkdrop.debug:make_dbgp_middleware
profiler = linkdrop.debug:make_profile_middleware
2010-09-01 11:41:39 +04:00
[paste.app_install]
main = pylons.util:PylonsInstaller
""",
)