forked from ibmdbanalytics/ibmdbpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
85 lines (74 loc) · 2.9 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#-----------------------------------------------------------------------------
# Copyright (c) 2015, IBM Corp.
# All rights reserved.
#
# Distributed under the terms of the BSD Simplified License.
#
# The full license is in the LICENSE file, distributed with this software.
#-----------------------------------------------------------------------------
"""
setup.py
"""
# Note: Always prefer setuptools over distutils
from setuptools import setup, find_packages
from codecs import open
import os
# Get the long description from the relevant file
with open('README.rst', 'r', encoding='utf-8') as f:
longdesc = f.read()
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Natural Language :: English',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
#'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Database',
'Topic :: Scientific/Engineering',
'Topic :: Software Development'
]
setup(name='ibmdbpy',
version='0.1.4',
install_requires=['pandas','numpy','future','six','pypyodbc','lazy'],
# optional are jaydebeapi, pytest, sphinx, bokeh
extras_require={
'jdbc':['jaydebeapi'],
'test':['pytest'],
'doc':['sphinx']
},
description='A Pandas-like SQL-wrapper for in-database analytics with IBM dashDB/DB2.',
long_description=longdesc,
url='https://github.com/ibmdbanalytics/ibmdbpy',
author='IBM Corp.',
author_email='[email protected]',
license='BSD',
classifiers=classifiers,
keywords='data analytics database development IBM dashDB DB2 pandas scikitlearn scalability machine-learning knowledge discovery',
packages=find_packages(exclude=['docs', 'tests*']),
package_data={
'ibmdbpy.sampledata': ['*.txt']}
)