~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Michael Hudson
  • Date: 2008-07-28 05:26:13 UTC
  • mfrom: (128.13.91 new_theme_trunk)
  • Revision ID: michael.hudson@canonical.com-20080728052613-35uxs2xz28dsqdgz
merge the new theme created by Martin Albisetti
(this work sponsored by Canonical)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
 
#
3
 
# Copyright (C) 2008  Canonical Ltd.
4
 
#                     (Authored by Martin Albisetti <argentina@gmail.com>)
5
2
# This program is free software; you can redistribute it and/or modify
6
3
# it under the terms of the GNU General Public License as published by
7
4
# the Free Software Foundation; either version 2 of the License, or
16
13
# along with this program; if not, write to the Free Software
17
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
15
 
19
 
"""Loggerhead is a web viewer for projects in bazaar"""
20
 
 
21
 
 
22
 
from distutils.core import setup
23
 
import loggerhead
 
16
from setuptools import setup, find_packages
 
17
from turbogears.finddata import find_package_data
 
18
 
 
19
import os
 
20
execfile(os.path.join("loggerhead", "release.py"))
24
21
 
25
22
 
26
23
setup(
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",
 
24
    name="loggerhead",
 
25
    version=version,
 
26
    
 
27
    description=description,
 
28
    author=author,
 
29
    author_email=email,
 
30
    url=url,
 
31
    download_url=download_url,
 
32
    license=license,
 
33
    maintainer="Michael Hudson",
 
34
    maintainer_email="michael.hudson@canonical.com",
 
35
    
 
36
    install_requires = [
 
37
        "TurboGears >= 1.0b1",
 
38
# for some reason, distutils can't find bzr.
 
39
#        "bzr >= 0.13",
 
40
    ],
33
41
    scripts = ["start-loggerhead", "stop-loggerhead", "serve-branches"],
34
 
    packages = ["loggerhead", 
35
 
                "loggerhead/apps", 
36
 
                "loggerhead/controllers", 
37
 
                "loggerhead/templates"],
38
 
    package_data = {"loggerhead":["templates/*.pt", 
39
 
                                  "static/css/*.css", 
40
 
                                  "static/javascript/*", 
41
 
                                  "static/images/*"]},
42
 
    data_files = [
43
 
        ('share/man/man1',['start-loggerhead.1', 'stop-loggerhead.1', 
44
 
                           'serve-branches.1']),
45
 
        ('share/doc/loggerhead', ['loggerhead.conf.example']),
46
 
        ],
 
42
    zip_safe=False,
 
43
    packages=find_packages(),
 
44
    package_data = find_package_data(where='loggerhead',
 
45
                                     package='loggerhead'),
 
46
#    data_files = find_package_data(where='loggerhead', package='loggerhead'),
 
47
    data_files=[('share/man/man1', 
 
48
                    ['start-loggerhead.1', 'stop-loggerhead.1'])],
 
49
    keywords = [
 
50
        'turbogears.app',
 
51
    ],
 
52
    classifiers = [
 
53
        'Development Status :: 3 - Alpha',
 
54
        'Operating System :: OS Independent',
 
55
        'Programming Language :: Python',
 
56
        'Framework :: TurboGears',
 
57
        'Framework :: TurboGears :: Applications',
 
58
    ],
 
59
    test_suite = 'nose.collector',
47
60
    )
 
61