~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Robey Pointer
  • Date: 2006-12-14 03:00:10 UTC
  • Revision ID: robey@lag.net-20061214030010-amia4mec3ydygjgk
add a timed event to fill in the revision cache, so that after running for
a little while, most page loads should be fast.  fix up some of the mechanism
around the history cache, so that it notices when the branch has been
updated, and reloads (and recomputes) the graph cache.

add branch nicks to the merged-in, merged-from listings.

add next/prev navbar to the bottom of the revision page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
#
3
 
# Copyright (C) 2008  Canonical Ltd.
4
 
#                     (Authored by Martin Albisetti <argentina@gmail.com>)
5
 
# This program is free software; you can redistribute it and/or modify
6
 
# it under the terms of the GNU General Public License as published by
7
 
# the Free Software Foundation; either version 2 of the License, or
8
 
# (at your option) any later version.
9
 
#
10
 
# This program is distributed in the hope that it will be useful,
11
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
# GNU General Public License for more details.
14
 
#
15
 
# You should have received a copy of the GNU General Public License
16
 
# along with this program; if not, write to the Free Software
17
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 
 
19
 
"""Loggerhead is a web viewer for projects in bazaar"""
20
 
 
21
 
from distutils.core import setup
22
 
 
23
 
import loggerhead
24
 
 
 
1
from setuptools import setup, find_packages
 
2
from turbogears.finddata import find_package_data
 
3
 
 
4
import os
 
5
execfile(os.path.join("loggerhead", "release.py"))
25
6
 
26
7
setup(
27
 
    name = "loggerhead",
28
 
    version = loggerhead.__version__,
29
 
    description = "Loggerhead is a web viewer for projects in bazaar",
30
 
    license = "GNU GPL v2 or later",
31
 
    maintainer = "Michael Hudson",
32
 
    maintainer_email = "michael.hudson@canonical.com",
33
 
    scripts = ["serve-branches"],
34
 
    packages = ["loggerhead",
35
 
                "loggerhead/apps",
36
 
                "loggerhead/controllers",
37
 
                "loggerhead/templates",
38
 
                "bzrlib.plugins.loggerhead"],
39
 
    package_dir={'bzrlib.plugins.loggerhead':'.'},
40
 
    package_data = {"loggerhead": ["templates/*.pt",
41
 
                                   "static/css/*.css",
42
 
                                   "static/javascript/*.js",
43
 
                                   "static/javascript/yui/build/anim/*",
44
 
                                   "static/javascript/yui/build/base/*",
45
 
                                   "static/javascript/yui/build/cssbase/*",
46
 
                                   "static/javascript/yui/build/cssgrids/*",
47
 
                                   "static/javascript/yui/build/dd/*",
48
 
                                   "static/javascript/yui/build/dump/*",
49
 
                                   "static/javascript/yui/build/get/*",
50
 
                                   "static/javascript/yui/build/json/*",
51
 
                                   "static/javascript/yui/build/node/*",
52
 
                                   "static/javascript/yui/build/queue/*",
53
 
                                   "static/javascript/yui/build/yui/*",
54
 
                                   "static/javascript/yui/build/attribute/*",
55
 
                                   "static/javascript/yui/build/cookie/*",
56
 
                                   "static/javascript/yui/build/cssfonts/*",
57
 
                                   "static/javascript/yui/build/cssreset/*",
58
 
                                   "static/javascript/yui/build/dom/*",
59
 
                                   "static/javascript/yui/build/event/*",
60
 
                                   "static/javascript/yui/build/io/*",
61
 
                                   "static/javascript/yui/build/loader/*",
62
 
                                   "static/javascript/yui/build/oop/*",
63
 
                                   "static/javascript/yui/build/substitute/*",
64
 
                                   "static/javascript/yui/build/yui-base/*",
65
 
                                   "static/images/*"]},
66
 
    data_files = [
67
 
        ('share/man/man1', ['serve-branches.1']),
68
 
        ],
 
8
    name="loggerhead",
 
9
    version=version,
 
10
    
 
11
    # uncomment the following lines if you fill them out in release.py
 
12
    #description=description,
 
13
    #author=author,
 
14
    #author_email=email,
 
15
    #url=url,
 
16
    #download_url=download_url,
 
17
    #license=license,
 
18
    
 
19
    install_requires = [
 
20
        "TurboGears >= 1.0b1",
 
21
    ],
 
22
    scripts = ["start-loggerhead.py"],
 
23
    zip_safe=False,
 
24
    packages=find_packages(),
 
25
    package_data = find_package_data(where='loggerhead',
 
26
                                     package='loggerhead'),
 
27
    keywords = [
 
28
        # Use keywords if you'll be adding your package to the
 
29
        # Python Cheeseshop
 
30
        
 
31
        # if this has widgets, uncomment the next line
 
32
        # 'turbogears.widgets',
 
33
        
 
34
        # if this has a tg-admin command, uncomment the next line
 
35
        # 'turbogears.command',
 
36
        
 
37
        # if this has identity providers, uncomment the next line
 
38
        # 'turbogears.identity.provider',
 
39
    
 
40
        # If this is a template plugin, uncomment the next line
 
41
        # 'python.templating.engines',
 
42
        
 
43
        # If this is a full application, uncomment the next line
 
44
        # 'turbogears.app',
 
45
    ],
 
46
    classifiers = [
 
47
        'Development Status :: 3 - Alpha',
 
48
        'Operating System :: OS Independent',
 
49
        'Programming Language :: Python',
 
50
        'Topic :: Software Development :: Libraries :: Python Modules',
 
51
        'Framework :: TurboGears',
 
52
        # if this is an application that you'll distribute through
 
53
        # the Cheeseshop, uncomment the next line
 
54
        # 'Framework :: TurboGears :: Applications',
 
55
        
 
56
        # if this is a package that includes widgets that you'll distribute
 
57
        # through the Cheeseshop, uncomment the next line
 
58
        # 'Framework :: TurboGears :: Widgets',
 
59
    ],
 
60
    test_suite = 'nose.collector',
69
61
    )
 
62