~jelmer/loggerhead/breezy-compat

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Colin Watson
  • Date: 2019-09-19 08:10:36 UTC
  • mfrom: (491.2.62 breezy)
  • Revision ID: cjwatson@canonical.com-20190919081036-q1symc2h2iedtlh3
[r=cjwatson] Switch loggerhead over to using the Breezy rather than Bazaar APIs.

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
 
from distutils.core import setup
 
21
from setuptools import setup
22
22
 
23
23
import loggerhead
24
24
 
31
31
    maintainer = "Michael Hudson",
32
32
    maintainer_email = "michael.hudson@canonical.com",
33
33
    scripts = [
34
 
        "serve-branches",
35
 
        "loggerhead.wsgi",
 
34
        "loggerhead-serve",
36
35
        ],
37
36
    packages = ["loggerhead",
38
37
                "loggerhead/apps",
39
38
                "loggerhead/controllers",
40
39
                "loggerhead/middleware",
41
40
                "loggerhead/templates",
42
 
                "bzrlib.plugins.loggerhead"],
43
 
    package_dir={'bzrlib.plugins.loggerhead':'.'},
 
41
                "breezy.plugins.loggerhead"],
 
42
    package_dir={'breezy.plugins.loggerhead':'.'},
44
43
    package_data = {"loggerhead": ["templates/*.pt",
45
44
                                   "static/css/*.css",
46
45
                                   "static/javascript/*.js",
68
67
                                   "static/javascript/yui/build/yui-base/*",
69
68
                                   "static/images/*"]},
70
69
    data_files = [
71
 
        ('share/man/man1', ['serve-branches.1']),
 
70
        ('share/man/man1', ['loggerhead-serve.1']),
72
71
        ('share/doc/loggerhead', ['apache-loggerhead.conf',
73
72
                                  'loggerheadd',
74
 
                                  'bazaar.conf']),
 
73
                                  'breezy.conf']),
75
74
        ],
 
75
    install_requires=['simplejson', 'paste', 'bleach'],
 
76
    testsuite='loggerhead.tests.test_suite',
76
77
    )