~loggerhead-team/loggerhead/trunk-rich

183.2.1 by John Arbash Meinel
Add Copyright information to most files.
1
#!/usr/bin/env python
181.1.6 by Martin Albisetti
* Removed unused file
2
#
3
# Copyright (C) 2008  Canonical Ltd.
4
#                     (Authored by Martin Albisetti <argentina@gmail.com>)
183.2.1 by John Arbash Meinel
Add Copyright information to most files.
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
181.1.9 by Michael Hudson
some tweaks
18
181.1.2 by Martin Albisetti
Removing left-over cruft from setup, and converting it to distutils
19
"""Loggerhead is a web viewer for projects in bazaar"""
20
181.1.8 by Martin Albisetti
* Removed unused imports
21
from distutils.core import setup
389.2.1 by Matt Nordhoff
Some random PEP 8 and otehr stylistic changes.
22
181.1.5 by Martin Albisetti
Move version to __init__
23
import loggerhead
181.1.8 by Martin Albisetti
* Removed unused imports
24
58 by Robey Pointer
add setup.py info so an sdist tarball can be made
25
1 by Robey Pointer
initial checkin
26
setup(
181.1.2 by Martin Albisetti
Removing left-over cruft from setup, and converting it to distutils
27
    name = "loggerhead",
181.1.5 by Martin Albisetti
Move version to __init__
28
    version = loggerhead.__version__,
181.1.2 by Martin Albisetti
Removing left-over cruft from setup, and converting it to distutils
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",
407.2.2 by Toshio Kuratomi
Update the setuo.py script to install the new files; update README.mod_wsgi
33
    scripts = ["start-loggerhead",
34
               "stop-loggerhead",
35
               "serve-branches",
36
               "loggerhead.wsgi"],
230.1.1 by Steve 'Ashcrow' Milner
Updated to follow pep8.
37
    packages = ["loggerhead",
38
                "loggerhead/apps",
39
                "loggerhead/controllers",
359.1.1 by Jelmer Vernooij
Install the bzr plugin for loggerhead in setup.py.
40
                "loggerhead/templates",
41
                "bzrlib.plugins.loggerhead"],
42
    package_dir={'bzrlib.plugins.loggerhead':'.'},
230.1.1 by Steve 'Ashcrow' Milner
Updated to follow pep8.
43
    package_data = {"loggerhead": ["templates/*.pt",
44
                                   "static/css/*.css",
245 by Martin Albisetti
Fixed setup to install YUI
45
                                   "static/javascript/*.js",
46
                                   "static/javascript/yui/build/anim/*",
47
                                   "static/javascript/yui/build/base/*",
48
                                   "static/javascript/yui/build/cssbase/*",
49
                                   "static/javascript/yui/build/cssgrids/*",
50
                                   "static/javascript/yui/build/dd/*",
51
                                   "static/javascript/yui/build/dump/*",
52
                                   "static/javascript/yui/build/get/*",
53
                                   "static/javascript/yui/build/json/*",
54
                                   "static/javascript/yui/build/node/*",
55
                                   "static/javascript/yui/build/queue/*",
56
                                   "static/javascript/yui/build/yui/*",
57
                                   "static/javascript/yui/build/attribute/*",
58
                                   "static/javascript/yui/build/cookie/*",
59
                                   "static/javascript/yui/build/cssfonts/*",
60
                                   "static/javascript/yui/build/cssreset/*",
61
                                   "static/javascript/yui/build/dom/*",
62
                                   "static/javascript/yui/build/event/*",
63
                                   "static/javascript/yui/build/io/*",
64
                                   "static/javascript/yui/build/loader/*",
65
                                   "static/javascript/yui/build/oop/*",
66
                                   "static/javascript/yui/build/substitute/*",
67
                                   "static/javascript/yui/build/yui-base/*",
230.1.1 by Steve 'Ashcrow' Milner
Updated to follow pep8.
68
                                   "static/images/*"]},
181.1.9 by Michael Hudson
some tweaks
69
    data_files = [
230.1.1 by Steve 'Ashcrow' Milner
Updated to follow pep8.
70
        ('share/man/man1', ['start-loggerhead.1',
71
                            'stop-loggerhead.1',
72
                            'serve-branches.1']),
407.2.2 by Toshio Kuratomi
Update the setuo.py script to install the new files; update README.mod_wsgi
73
        ('share/doc/loggerhead', ['loggerhead.conf.example',
74
                                  'README.mod_wsgi',
75
                                  'apache-loggerhead.conf',
76
                                  'bazaar.conf']),
181.1.9 by Michael Hudson
some tweaks
77
        ],
1 by Robey Pointer
initial checkin
78
    )