root/cleverbox/trunk/setup.py

Revision 351, 2.2 KB (checked in by trivoallan, 21 months ago)

Initial trac-0.11 compatbility tweaks.

Line 
1#!/usr/bin/env python
2
3# This file is part of the "Cleverbox" program.
4#
5# Cleverbox 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 3 of the License, or
8# (at your option) any later version.
9#
10# Cleverbox 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 Cleverbox.  If not, see <http://www.gnu.org/licenses/>.
17
18"""Cleverbox : Script for automating multiple trac instances deployment and maintenance.
19
20The Cleverbox sits on top of Trac (http://trac.edgewall.org) and Subversion (http://subversion.tigris.org).
21It provides an interactive shell for deploying and maintaining instances of both projects.
22"""
23
24from glob import glob
25from setuptools import setup, find_packages
26
27classifiers = """\
28Development Status :: 4 - Beta
29Environment :: Console
30Intended Audience :: System Administrators
31License :: OSI Approved :: GNU General Public License (GPL) v3
32Natural Language :: English
33Operating System :: POSIX
34Topic :: Software Development :: Bug Tracking
35Topic :: Software Development :: Version Control :: Subversion
36Topic :: System :: Systems Administration
37Topic :: Utilities
38"""
39
40doclines = __doc__.split("\n")
41
42setup(
43
44    # Project identity
45    name='Cleverbox',
46    version='0.5dev',
47    description='Script for automating multiple trac instances deployment and maintenance.',
48    author='Tristan Rivoallan',
49    author_email='trivoallan@clever-age.com',
50    url='http://www.clever-age.org/trac/wiki/cleverbox',
51    license='GPLv3',
52    classifiers = filter(None, classifiers.split("\n")),
53    long_description = "\n".join(doclines[2:]),
54
55    # Files
56    packages=find_packages(),
57    scripts=['scripts/cleverbox-admin'],
58    data_files=[('/usr/share/cleverbox',     glob('assets/*')),
59                ('/usr/share/doc/cleverbox', glob('docs/*')),
60                ('/usr/share/man/man1',      glob('scripts/*.1'))],
61
62    # Dependencies
63    install_requires=['setuptools>=0.6b1', 'Trac>=0.11']
64)
Note: See TracBrowser for help on using the browser.