~loggerhead-team/loggerhead/trunk-rich

183.2.1 by John Arbash Meinel
Add Copyright information to most files.
1
#!/usr/bin/env python
2
# This program is free software; you can redistribute it and/or modify
3
# it under the terms of the GNU General Public License as published by
4
# the Free Software Foundation; either version 2 of the License, or
5
# (at your option) any later version.
6
#
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
# GNU General Public License for more details.
11
#
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
1 by Robey Pointer
initial checkin
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"))
21
58 by Robey Pointer
add setup.py info so an sdist tarball can be made
22
1 by Robey Pointer
initial checkin
23
setup(
24
    name="loggerhead",
25
    version=version,
26
    
58 by Robey Pointer
add setup.py info so an sdist tarball can be made
27
    description=description,
28
    author=author,
29
    author_email=email,
30
    url=url,
31
    download_url=download_url,
32
    license=license,
146.1.2 by Michael Hudson
more prep
33
    maintainer="Michael Hudson",
34
    maintainer_email="michael.hudson@canonical.com",
1 by Robey Pointer
initial checkin
35
    
36
    install_requires = [
37
        "TurboGears >= 1.0b1",
116 by Robey Pointer
fix some lame setup.py errors
38
# for some reason, distutils can't find bzr.
39
#        "bzr >= 0.13",
1 by Robey Pointer
initial checkin
40
    ],
184 by Martin Albisetti
* Add start/stop scripts to setup, including serve-branches (Jelmer Vernooij)
41
    scripts = ["start-loggerhead", "stop-loggerhead", "serve-branches"],
1 by Robey Pointer
initial checkin
42
    zip_safe=False,
43
    packages=find_packages(),
44
    package_data = find_package_data(where='loggerhead',
45
                                     package='loggerhead'),
116 by Robey Pointer
fix some lame setup.py errors
46
#    data_files = find_package_data(where='loggerhead', package='loggerhead'),
183.1.2 by Jelmer Vernooij
Install manual pages
47
    data_files=[('share/man/man1', 
48
                    ['start-loggerhead.1', 'stop-loggerhead.1'])],
1 by Robey Pointer
initial checkin
49
    keywords = [
58 by Robey Pointer
add setup.py info so an sdist tarball can be made
50
        'turbogears.app',
1 by Robey Pointer
initial checkin
51
    ],
52
    classifiers = [
53
        'Development Status :: 3 - Alpha',
54
        'Operating System :: OS Independent',
55
        'Programming Language :: Python',
56
        'Framework :: TurboGears',
58 by Robey Pointer
add setup.py info so an sdist tarball can be made
57
        'Framework :: TurboGears :: Applications',
1 by Robey Pointer
initial checkin
58
    ],
59
    test_suite = 'nose.collector',
60
    )
61