~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: John Arbash Meinel
  • Date: 2011-03-15 10:24:40 UTC
  • mfrom: (432.1.3 loggerhead)
  • Revision ID: john@arbash-meinel.com-20110315102440-n4zr988738z125cd
Merge fix for bug #569358. Redirect requests so people can URL hack.

If you edit /files/directory to become /files/directory/filename, redirect it to
the /view/directory/filename, and conversly if you go to /view/directory redirect
it to /files/directory. This way people can edit the URL in a logical way
and still get the view they are expecting.

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
 
 
22
21
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", "stop-loggerhead", "serve-branches"],
 
33
    scripts = ["serve-branches"],
34
34
    packages = ["loggerhead",
35
35
                "loggerhead/apps",
36
36
                "loggerhead/controllers",
64
64
                                   "static/javascript/yui/build/yui-base/*",
65
65
                                   "static/images/*"]},
66
66
    data_files = [
67
 
        ('share/man/man1', ['start-loggerhead.1',
68
 
                            'stop-loggerhead.1',
69
 
                            'serve-branches.1']),
70
 
        ('share/doc/loggerhead', ['loggerhead.conf.example']),
 
67
        ('share/man/man1', ['serve-branches.1']),
71
68
        ],
72
69
    )