~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Tom Haddon
  • Date: 2008-11-24 20:26:26 UTC
  • mto: This revision was merged to the branch mainline in revision 246.
  • Revision ID: tom.haddon@canonical.com-20081124202626-x0sva3e7zxlqtckw
Allow the script to run as root or another user, but start the loggerhead process as the correct user

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
"""Loggerhead is a web viewer for projects in bazaar"""
20
20
 
 
21
 
21
22
from distutils.core import setup
22
 
 
23
23
import loggerhead
24
24
 
25
25
 
30
30
    license = "GNU GPL v2 or later",
31
31
    maintainer = "Michael Hudson",
32
32
    maintainer_email = "michael.hudson@canonical.com",
33
 
    scripts = ["start-loggerhead",
34
 
               "stop-loggerhead",
35
 
               "serve-branches",
36
 
               "loggerhead.wsgi"],
 
33
    scripts = ["start-loggerhead", "stop-loggerhead", "serve-branches"],
37
34
    packages = ["loggerhead",
38
35
                "loggerhead/apps",
39
36
                "loggerhead/controllers",
40
 
                "loggerhead/templates",
41
 
                "bzrlib.plugins.loggerhead"],
42
 
    package_dir={'bzrlib.plugins.loggerhead':'.'},
 
37
                "loggerhead/templates"],
43
38
    package_data = {"loggerhead": ["templates/*.pt",
44
39
                                   "static/css/*.css",
45
40
                                   "static/javascript/*.js",
70
65
        ('share/man/man1', ['start-loggerhead.1',
71
66
                            'stop-loggerhead.1',
72
67
                            'serve-branches.1']),
73
 
        ('share/doc/loggerhead', ['loggerhead.conf.example',
74
 
                                  'README.mod_wsgi',
75
 
                                  'apache-loggerhead.conf',
76
 
                                  'bazaar.conf']),
 
68
        ('share/doc/loggerhead', ['loggerhead.conf.example']),
77
69
        ],
78
70
    )