1
#! /usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
5
# Systolic -- Web-based history of co-branded web sites
6
# By: Emmanuel Raviart <eraviart@easter-eggs.com>
7
#
8
# Copyright (C) 2010 Easter-eggs
9
# http://wiki.infos-pratiques.org/wiki/Systolic
10
#
11
# This file is part of Systolic.
12
#
13
# Systolic is free software; you can redistribute it and/or modify
14
# it under the terms of the GNU Affero General Public License as
15
# published by the Free Software Foundation, either version 3 of the
16
# License, or (at your option) any later version.
17
#
18
# Systolic is distributed in the hope that it will be useful,
19
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
# GNU Affero General Public License for more details.
22
#
23
# You should have received a copy of the GNU Affero General Public License
24
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
25
26
27
"""Web-based history of co-branded web sites"""
28
29
30
try:
31
    from setuptools import setup, find_packages
32
except ImportError:
33
    from ez_setup import use_setuptools
34
    use_setuptools()
35
    from setuptools import setup, find_packages
36
37
38
classifiers = """\
39
Development Status :: 5 - Production/Stable
40
Environment :: Web Environment
41
Intended Audience :: Information Technology
42
License :: OSI Approved :: GNU Affero General Public License v3
43
Operating System :: OS Independent
44
Programming Language :: Python
45
Topic :: Scientific/Engineering
46
"""
47
48
doc_lines = __doc__.split('\n')
49
50
51
setup(
52
    name = 'Systolic',
53
    version = '1.0',
54
55
    author = 'Emmanuel Raviart',
56
    author_email = 'infos-pratiques-devel@listes.infos-pratiques.org',
57
    classifiers = [classifier for classifier in classifiers.split('\n') if classifier],
58
    description = doc_lines[0],
59
    keywords = 'co-branding diff git history site timeline web',
60
    license = 'http://www.fsf.org/licensing/licenses/agpl-3.0.html',
61
    long_description = '\n'.join(doc_lines[2:]),
62
    url = 'http://wiki.infos-pratiques.org/wiki/Systolic',
63
64
    entry_points = """
65
        [paste.app_factory]
66
        main = systolic.application:make_app
67
        """,
68
    include_package_data = True,
69
    install_requires = [
70
        "Beaker >= 1.5",
71
        "Biryani >= 0.9dev",
72
        "dulwich >= 0.5",
73
        'lxml >= 2.2',
74
        "Mako >= 0.3.4",
75
        "pycrypto >= 2.1",
76
        "Suq-Pagination >= 0.1",
77
        "Suq-Sourceable >= 0.2",
78
        "WebError >= 0.10",
79
        "WebOb >= 1.0",
80
        ],
81
    message_extractors = {'systolic': [
82
            ('**.py', 'python', None),
83
            ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
84
            ('public/**', 'ignore', None)]},
85
    namespace_packages = ['systolic_plugins', 'systolic_plugins.scripts'],
86
    package_data = {'systolic': ['i18n/*/LC_MESSAGES/*.mo']},
87
    packages = find_packages(),
88
    paster_plugins = ['PasteScript'],
89
    setup_requires = ["PasteScript >= 1.6.3"],
90
#    test_suite = 'nose.collector',
91
    zip_safe = False,
92
    )