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