~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Toshio Kuratomi
  • Date: 2010-04-18 17:55:33 UTC
  • mto: (464.1.1 mod-wsgi)
  • mto: This revision was merged to the branch mainline in revision 465.
  • Revision ID: toshio@fedoraproject.org-20100418175533-bmrymlv9ir7v7jwg
Merge README.mod_wsgi into the installation instructions in docs/index.rst and add mod_wsgi note to NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from setuptools import setup, find_packages
2
 
from turbogears.finddata import find_package_data
3
 
 
4
 
import os
5
 
execfile(os.path.join("loggerhead", "release.py"))
 
1
#!/usr/bin/env python
 
2
#
 
3
# Copyright (C) 2008  Canonical Ltd.
 
4
#                     (Authored by Martin Albisetti <argentina@gmail.com>)
 
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
 
18
 
 
19
"""Loggerhead is a web viewer for projects in bazaar"""
 
20
 
 
21
from distutils.core import setup
 
22
 
 
23
import loggerhead
6
24
 
7
25
 
8
26
setup(
9
 
    name="loggerhead",
10
 
    version=version,
11
 
    
12
 
    description=description,
13
 
    author=author,
14
 
    author_email=email,
15
 
    url=url,
16
 
    download_url=download_url,
17
 
    license=license,
18
 
    maintainer="Michael Hudson",
19
 
    maintainer_email="michael.hudson@canonical.com",
20
 
    
21
 
    install_requires = [
22
 
        "TurboGears >= 1.0b1",
23
 
# for some reason, distutils can't find bzr.
24
 
#        "bzr >= 0.13",
25
 
    ],
26
 
    scripts = ["start-loggerhead.py", "stop-loggerhead.py"],
27
 
    zip_safe=False,
28
 
    packages=find_packages(),
29
 
    package_data = find_package_data(where='loggerhead',
30
 
                                     package='loggerhead'),
31
 
#    data_files = find_package_data(where='loggerhead', package='loggerhead'),
32
 
    keywords = [
33
 
        'turbogears.app',
34
 
    ],
35
 
    classifiers = [
36
 
        'Development Status :: 3 - Alpha',
37
 
        'Operating System :: OS Independent',
38
 
        'Programming Language :: Python',
39
 
        'Framework :: TurboGears',
40
 
        'Framework :: TurboGears :: Applications',
41
 
    ],
42
 
    test_suite = 'nose.collector',
 
27
    name = "loggerhead",
 
28
    version = loggerhead.__version__,
 
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",
 
33
    scripts = ["start-loggerhead",
 
34
               "stop-loggerhead",
 
35
               "serve-branches",
 
36
               "loggerhead.wsgi"],
 
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/*"]},
 
69
    data_files = [
 
70
        ('share/man/man1', ['start-loggerhead.1',
 
71
                            'stop-loggerhead.1',
 
72
                            'serve-branches.1']),
 
73
        ('share/doc/loggerhead', ['loggerhead.conf.example',
 
74
                                  'README.mod_wsgi',
 
75
                                  'apache-loggerhead.conf',
 
76
                                  'bazaar.conf']),
 
77
        ],
43
78
    )
44