| 1 |
#! /usr/bin/env python |
|---|
| 2 |
# (C) Copyright 2007 Nuxeo SAS <http://nuxeo.com> |
|---|
| 3 |
# Author: bdelbosc@nuxeo.com |
|---|
| 4 |
# |
|---|
| 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 |
# |
|---|
| 20 |
"""PLUSH = Python LUcene SHell |
|---|
| 21 |
|
|---|
| 22 |
$Id$ |
|---|
| 23 |
""" |
|---|
| 24 |
from distutils.core import setup |
|---|
| 25 |
|
|---|
| 26 |
from plush.version import __version__ |
|---|
| 27 |
from tests.distutilstestcommand import TestCommand |
|---|
| 28 |
|
|---|
| 29 |
setup( |
|---|
| 30 |
name="plush", |
|---|
| 31 |
version=__version__, |
|---|
| 32 |
description="Python LUcene SHell.", |
|---|
| 33 |
long_description="""\ |
|---|
| 34 |
A simple Lucene interactive terminal. |
|---|
| 35 |
|
|---|
| 36 |
Main features: |
|---|
| 37 |
|
|---|
| 38 |
* View store information. |
|---|
| 39 |
|
|---|
| 40 |
* View indexes definition. |
|---|
| 41 |
|
|---|
| 42 |
* Search using the Lucene Query Parser Syntax. |
|---|
| 43 |
|
|---|
| 44 |
* Sort result list. |
|---|
| 45 |
|
|---|
| 46 |
* Browse by document number. |
|---|
| 47 |
|
|---|
| 48 |
* Top term occurences for a field, matching a regex. |
|---|
| 49 |
|
|---|
| 50 |
* Support PyLucene 1.9.1, 2.0.0 and 2.1.0. |
|---|
| 51 |
|
|---|
| 52 |
* Interactive shell emacs like command history and editing features. |
|---|
| 53 |
|
|---|
| 54 |
* Command line tool and thus scriptable. |
|---|
| 55 |
|
|---|
| 56 |
* Easy installation, no java required. |
|---|
| 57 |
|
|---|
| 58 |
* Plush is free software distributed under the GNU GPL. |
|---|
| 59 |
|
|---|
| 60 |
* Plush is written in python and can be easily customized. |
|---|
| 61 |
|
|---|
| 62 |
""", |
|---|
| 63 |
author="Benoit Delbosc", |
|---|
| 64 |
author_email="bdelbosc@nuxeo.com", |
|---|
| 65 |
url="http://public.dev.nuxeo.com/~ben/plush/", |
|---|
| 66 |
download_url="http://public.dev.nuxeo.com/~ben/plush/plush-%s.tar.gz"%__version__, |
|---|
| 67 |
license='GPL', |
|---|
| 68 |
packages=['plush'], |
|---|
| 69 |
package_dir={'plush': 'plush'}, |
|---|
| 70 |
scripts=['scripts/plush', |
|---|
| 71 |
], |
|---|
| 72 |
keywords='Lucene Pylucene command line shell terminal tool', |
|---|
| 73 |
classifiers=[ |
|---|
| 74 |
'Development Status :: 4 - Beta', |
|---|
| 75 |
'Environment :: Console', |
|---|
| 76 |
'Intended Audience :: Developers', |
|---|
| 77 |
'Intended Audience :: System Administrators', |
|---|
| 78 |
'Natural Language :: English', |
|---|
| 79 |
'License :: OSI Approved :: GNU General Public License (GPL)', |
|---|
| 80 |
'Operating System :: Unix', |
|---|
| 81 |
'Programming Language :: Python', |
|---|
| 82 |
'Topic :: Internet :: WWW/HTTP :: Indexing/Search', |
|---|
| 83 |
'Topic :: Software Development :: Testing', |
|---|
| 84 |
'Topic :: Software Development', |
|---|
| 85 |
'Topic :: Utilities', |
|---|
| 86 |
], |
|---|
| 87 |
cmdclass = { 'test': TestCommand,} |
|---|
| 88 |
) |
|---|