annotate 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
rev   line source
477
920a45f244e8 setuptools optional
catherine@dellzilla
parents: 468
diff changeset
1 try:
920a45f244e8 setuptools optional
catherine@dellzilla
parents: 468
diff changeset
2 from setuptools import setup, find_packages
920a45f244e8 setuptools optional
catherine@dellzilla
parents: 468
diff changeset
3 except ImportError:
920a45f244e8 setuptools optional
catherine@dellzilla
parents: 468
diff changeset
4 from distutils.core import setup
920a45f244e8 setuptools optional
catherine@dellzilla
parents: 468
diff changeset
5 def find_packages():
920a45f244e8 setuptools optional
catherine@dellzilla
parents: 468
diff changeset
6 return ['sqlpython']
920a45f244e8 setuptools optional
catherine@dellzilla
parents: 468
diff changeset
7
49
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
8 classifiers = """Development Status :: 4 - Beta
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
9 Intended Audience :: Information Technology
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
10 License :: OSI Approved :: MIT License
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
11 Programming Language :: Python
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
12 Programming Language :: SQL
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
13 Topic :: Database :: Front-Ends
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
14 Operating System :: OS Independent""".splitlines()
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
15
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
16 setup(name="sqlpython",
468
d0164c122938 final test on oracle
catherine@Drou
parents: 451
diff changeset
17 version="1.7.1",
49
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
18 description="Command-line interface to Oracle",
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
19 long_description="Customizable alternative to Oracle's SQL*PLUS command-line interface",
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
20 author="Luca Canali",
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
21 author_email="luca.canali@cern.ch",
300
154c2e44abce changed project homepage to doc page
catherine@dellzilla
parents: 293
diff changeset
22 url="http://packages.python.org/sqlpython",
49
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
23 packages=find_packages(),
85
b336d049cac7 bugs found during gcoug talk prep
catherine@localhost
parents: 66
diff changeset
24 include_package_data=True,
482
8cf08822207b beginning move to Gerald 0.4
catherine.devlin@gmail.com
parents: 477
diff changeset
25 install_requires=['pyparsing','cmd2>=0.6.1','gerald>=0.4.0',
444
e89db2eaa0b4 removed refs to sqlalchemy
catherine@Drou
parents: 443
diff changeset
26 'genshi>=0.5'],
415
3a2db0db302f must synch
catherine@bothari
parents: 396
diff changeset
27 extras_require = {
3a2db0db302f must synch
catherine@bothari
parents: 396
diff changeset
28 'oracle': ['cx_Oracle>=5.0.2'],
3a2db0db302f must synch
catherine@bothari
parents: 396
diff changeset
29 'postgres': ['psycopg2'],
3a2db0db302f must synch
catherine@bothari
parents: 396
diff changeset
30 },
49
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
31 keywords = 'client oracle database',
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
32 license = 'MIT',
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
33 platforms = ['any'],
50
c090fbf19376 this setup.py doesn't work
catherine@DellZilla.myhome.westell.com
parents: 49
diff changeset
34 entry_points = """
c090fbf19376 this setup.py doesn't work
catherine@DellZilla.myhome.westell.com
parents: 49
diff changeset
35 [console_scripts]
188
4a639619814a sending changes to dellzilla
catherine@dellzilla
parents: 135
diff changeset
36 sqlpython = sqlpython.mysqlpy:run
4a639619814a sending changes to dellzilla
catherine@dellzilla
parents: 135
diff changeset
37 editplot_sqlpython = sqlpython.editplot.bash"""
49
8ce9e85a2a32 trying a new setup.py
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
38 )
51
fe017e9fe44e fixing features keyword in setup
catherine@DellZilla.myhome.westell.com
parents: 50
diff changeset
39