~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Martin Albisetti
  • Author(s): Matteo Settenvini
  • Date: 2008-08-05 15:20:41 UTC
  • mfrom: (181.2.4 setup)
  • Revision ID: argentina@gmail.com-20080805152041-2b1x7vyqt8v9675n
Fix remaining problem with setup

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
 
 
22
from distutils.core import setup
 
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
 
    
19
 
    install_requires = [
20
 
        "TurboGears >= 1.0b1",
21
 
# for some reason, distutils can't find bzr.
22
 
#        "bzr >= 0.13",
23
 
    ],
24
 
    scripts = ["start-loggerhead.py", "stop-loggerhead.py"],
25
 
    zip_safe=False,
26
 
    packages=find_packages(),
27
 
    package_data = find_package_data(where='loggerhead',
28
 
                                     package='loggerhead'),
29
 
#    data_files = find_package_data(where='loggerhead', package='loggerhead'),
30
 
    keywords = [
31
 
        'turbogears.app',
32
 
    ],
33
 
    classifiers = [
34
 
        'Development Status :: 3 - Alpha',
35
 
        'Operating System :: OS Independent',
36
 
        'Programming Language :: Python',
37
 
        'Framework :: TurboGears',
38
 
        'Framework :: TurboGears :: Applications',
39
 
    ],
40
 
    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", "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
        ('share/doc/loggerhead', ['loggerhead.conf.example']),
 
45
        ],
41
46
    )
42