~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.9 by Michael Hudson
some tweaks
21
181.1.8 by Martin Albisetti
* Removed unused imports
22
from distutils.core import setup
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",
184 by Martin Albisetti
* Add start/stop scripts to setup, including serve-branches (Jelmer Vernooij)
33
    scripts = ["start-loggerhead", "stop-loggerhead", "serve-branches"],
181.2.3 by Martin Albisetti
Also copy static dir
34
    packages = ["loggerhead", 
181.2.4 by Matteo Settenvini
Fix remaining problem with setup
35
                "loggerhead/apps", 
36
                "loggerhead/controllers", 
37
                "loggerhead/templates"],
181.2.3 by Martin Albisetti
Also copy static dir
38
    package_data = {"loggerhead":["templates/*.pt", 
181.2.4 by Matteo Settenvini
Fix remaining problem with setup
39
                                  "static/css/*.css", 
40
                                  "static/javascript/*", 
41
                                  "static/images/*"]},
181.1.9 by Michael Hudson
some tweaks
42
    data_files = [
197.1.1 by Jelmer Vernooij
Add manual page for serve-branches.
43
        ('share/man/man1',['start-loggerhead.1', 'stop-loggerhead.1', 
44
                           'serve-branches.1']),
181.1.9 by Michael Hudson
some tweaks
45
        ('share/doc/loggerhead', ['loggerhead.conf.example']),
46
        ],
1 by Robey Pointer
initial checkin
47
    )