~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",
419.1.2 by John Arbash Meinel
A few more things needed to be removed.
33
    scripts = ["serve-branches"],
230.1.1 by Steve 'Ashcrow' Milner
Updated to follow pep8.
34
    packages = ["loggerhead",
35
                "loggerhead/apps",
36
                "loggerhead/controllers",
359.1.1 by Jelmer Vernooij
Install the bzr plugin for loggerhead in setup.py.
37
                "loggerhead/templates",
38
                "bzrlib.plugins.loggerhead"],
39
    package_dir={'bzrlib.plugins.loggerhead':'.'},
230.1.1 by Steve 'Ashcrow' Milner
Updated to follow pep8.
40
    package_data = {"loggerhead": ["templates/*.pt",
41
                                   "static/css/*.css",
245 by Martin Albisetti
Fixed setup to install YUI
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/*",
230.1.1 by Steve 'Ashcrow' Milner
Updated to follow pep8.
65
                                   "static/images/*"]},
181.1.9 by Michael Hudson
some tweaks
66
    data_files = [
419.1.2 by John Arbash Meinel
A few more things needed to be removed.
67
        ('share/man/man1', ['serve-branches.1']),
181.1.9 by Michael Hudson
some tweaks
68
        ],
1 by Robey Pointer
initial checkin
69
    )