root/cleverbox/trunk/setup.py @ 351

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

Initial trac-0.11 compatbility tweaks.

RevLine 
[130]1#!/usr/bin/env python
2
[260]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
[176]18"""Cleverbox : Script for automating multiple trac instances deployment and maintenance.
19
[338]20The Cleverbox sits on top of Trac (http://trac.edgewall.org) and Subversion (http://subversion.tigris.org).
[176]21It provides an interactive shell for deploying and maintaining instances of both projects.
22"""
23
[130]24from glob import glob
[148]25from setuptools import setup, find_packages
[130]26
[176]27classifiers = """\
28Development Status :: 4 - Beta
29Environment :: Console
30Intended Audience :: System Administrators
[328]31License :: OSI Approved :: GNU General Public License (GPL) v3
[176]32Natural Language :: English
[328]33Operating System :: POSIX
[176]34Topic :: Software Development :: Bug Tracking
[328]35Topic :: Software Development :: Version Control :: Subversion
[176]36Topic :: System :: Systems Administration
37Topic :: Utilities
38"""
39
40doclines = __doc__.split("\n")
41
[148]42setup(
[338]43
[148]44    # Project identity
45    name='Cleverbox',
[177]46    version='0.5dev',
[148]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',
[176]52    classifiers = filter(None, classifiers.split("\n")),
53    long_description = "\n".join(doclines[2:]),
[338]54
[148]55    # Files
56    packages=find_packages(),
57    scripts=['scripts/cleverbox-admin'],
[153]58    data_files=[('/usr/share/cleverbox',     glob('assets/*')),
[243]59                ('/usr/share/doc/cleverbox', glob('docs/*')),
[338]60                ('/usr/share/man/man1',      glob('scripts/*.1'))],
61
[148]62    # Dependencies
[351]63    install_requires=['setuptools>=0.6b1', 'Trac>=0.11']
[149]64)
Note: See TracBrowser for help on using the browser.