view setup.py @ 482:8cf08822207b

beginning move to Gerald 0.4
author catherine.devlin@gmail.com
date Thu, 05 Aug 2010 07:06:48 -0400
parents 920a45f244e8
children 128aa57c4b8d
line wrap: on
line source

try:
    from setuptools import setup, find_packages
except ImportError:
    from distutils.core import setup
    def find_packages():
        return ['sqlpython']
    
classifiers = """Development Status :: 4 - Beta
Intended Audience :: Information Technology
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: SQL
Topic :: Database :: Front-Ends
Operating System :: OS Independent""".splitlines()

setup(name="sqlpython",
      version="1.7.1",
      description="Command-line interface to Oracle",
      long_description="Customizable alternative to Oracle's SQL*PLUS command-line interface",
      author="Luca Canali",
      author_email="luca.canali@cern.ch",
      url="http://packages.python.org/sqlpython",
      packages=find_packages(),
      include_package_data=True,    
      install_requires=['pyparsing','cmd2>=0.6.1','gerald>=0.4.0',
                        'genshi>=0.5'],
      extras_require = {
        'oracle':  ['cx_Oracle>=5.0.2'],
        'postgres': ['psycopg2'],
        },
      keywords = 'client oracle database',
      license = 'MIT',
      platforms = ['any'],
      entry_points = """
                   [console_scripts]
                   sqlpython = sqlpython.mysqlpy:run
                   editplot_sqlpython = sqlpython.editplot.bash"""      
     )