Debian Codegraph @

setup.py

raw
1 # Copyright 2010 Bastian Bowe
2 #
3 # This file is part of JayDeBeApi.
4 # JayDeBeApi is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU Lesser General Public License as
6 # published by the Free Software Foundation, either version 3 of the
7 # License, or (at your option) any later version.
8 #
9 # JayDeBeApi is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with JayDeBeApi. If not, see
16 # <http://www.gnu.org/licenses/>.
17 #
18
19 import sys
20
21 from setuptools import setup
22
23 install_requires = [ 'JPype1 ; python_version > "2.7" and platform_python_implementation != "Jython"',
24 'JPype1<=0.7.1 ; python_version <= "2.7" and platform_python_implementation != "Jython"',
25 ]
26
27 setup(
28 #basic package data
29 name = 'JayDeBeApi',
30 version = '1.2.3',
31 author = 'Bastian Bowe',
32 author_email = '[email protected]',
33 license = 'GNU LGPL',
34 url='https://github.com/baztian/jaydebeapi',
35 description=('Use JDBC database drivers from Python 2/3 or Jython with a DB-API.'),
36 long_description=open('README.rst').read(),
37 keywords = ('db api java jdbc bridge connect sql jpype jython'),
38 classifiers = [
39 'Development Status :: 4 - Beta',
40 'Intended Audience :: Developers',
41 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
42 'Programming Language :: Java',
43 'Programming Language :: Python',
44 'Programming Language :: Python :: 2',
45 'Programming Language :: Python :: 3',
46 'Topic :: Database',
47 'Topic :: Software Development :: Libraries :: Java Libraries',
48 'Topic :: Software Development :: Libraries :: Python Modules',
49 ],
50
51 packages=['jaydebeapi'],
52 install_requires=install_requires,
53 )