~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Robert Collins
  • Date: 2012-02-03 01:37:21 UTC
  • mfrom: (466.1.2 bug-728209)
  • Revision ID: robertc@robertcollins.net-20120203013721-5ntnp45xb9in5eo6
    - Avoid crashing when viewing or annotating a non-existent file.
      (William Grant, #728209)

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"],
34
 
    packages = ["loggerhead"],
35
 
    package_data = {"loggerhead":["templates/*.pt"]},
 
33
    scripts = [
 
34
        "serve-branches",
 
35
        "loggerhead.wsgi",
 
36
        ],
 
37
    packages = ["loggerhead",
 
38
                "loggerhead/apps",
 
39
                "loggerhead/controllers",
 
40
                "loggerhead/templates",
 
41
                "bzrlib.plugins.loggerhead"],
 
42
    package_dir={'bzrlib.plugins.loggerhead':'.'},
 
43
    package_data = {"loggerhead": ["templates/*.pt",
 
44
                                   "static/css/*.css",
 
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/*",
 
68
                                   "static/images/*"]},
36
69
    data_files = [
37
 
        ('share/man/man1',['start-loggerhead.1', 'stop-loggerhead.1']),
38
 
        ('share/doc/loggerhead', ['loggerhead.conf.example']),
 
70
        ('share/man/man1', ['serve-branches.1']),
 
71
        ('share/doc/loggerhead', ['loggerhead.conf.example',
 
72
                                  'apache-loggerhead.conf',
 
73
                                  'bazaar.conf']),
39
74
        ],
40
75
    )