Skip to content

Commit 13ababb

Browse files
committed
update for 0.8.3
1 parent 0799158 commit 13ababb

2 files changed

Lines changed: 22 additions & 11 deletions

File tree

README.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
GridDB Python Client Library built using SWIG
33
==============================================
44

5-
GridDB (https://github.com/griddb/griddb_nosql) is a highly scalable NoSQL database best suited for IoT and Big Data.
5+
GridDB (https://github.com/griddb/griddb) is Database for IoT with both NoSQL interface and SQL Interface.
66
This is Python Client Library for GridDB.
77

88
Installation
@@ -12,7 +12,6 @@ Package dependencies
1212

1313
* GridDB C Client
1414

15-
1615
Download and install RPM or DEB package in GridDB C Client (https://github.com/griddb/c_client/releases).
1716

1817
Install RPM package by this command:
@@ -23,6 +22,14 @@ Install DEB package by this command:
2322

2423
$ sudo dpkg -i package_name.deb
2524

25+
* Pandas and Numpy
26+
27+
Install Pandas and Numpy by these commands:
28+
29+
$ python -m pip install numpy
30+
31+
$ python -m pip install pandas
32+
2633
Install the package by the following:
2734

2835
$ pip3 install griddb_python

setup.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"""
66

77
from distutils.command.build import build
8+
import os
89

910
try:
1011
from setuptools import setup, Extension
@@ -29,13 +30,14 @@
2930
'src/Query.cpp',
3031
'src/QueryAnalysisEntry.cpp',
3132
'src/RowKeyPredicate.cpp',
33+
'src/RowList.cpp',
3234
'src/RowSet.cpp',
3335
'src/Store.cpp',
3436
'src/StoreFactory.cpp',
3537
'src/TimeSeriesProperties.cpp',
3638
'src/TimestampUtils.cpp',
3739
'src/griddb.i',
38-
'src/Util.cpp',
40+
'src/Util.cpp'
3941
]
4042

4143
DEPENDENTS = [
@@ -49,20 +51,22 @@
4951
'src/Query.h',
5052
'src/QueryAnalysisEntry.h',
5153
'src/RowKeyPredicate.h',
54+
'src/RowList.h',
5255
'src/RowSet.h',
5356
'src/Store.h',
5457
'src/StoreFactory.h',
5558
'src/TimeSeriesProperties.h',
5659
'src/TimestampUtils.h',
5760
'src/gstype_python.i',
5861
'src/gstype.i',
59-
'include/gridstore.h',
60-
'include/Util.h',
62+
'src/Util.h',
63+
'include/gridstore.h'
6164
]
6265

6366
INCLUDES = [
6467
'include',
6568
'src',
69+
os.environ['HOME'] + '/.pyenv/versions/3.6.9/lib/python3.6/site-packages/numpy/core/include/'
6670
]
6771

6872
COMPILE_ARGS = [
@@ -71,7 +75,7 @@
7175

7276
LIBRARIES = [
7377
'rt',
74-
'gridstore',
78+
'gridstore'
7579
]
7680

7781
SWIG_OPTS = [
@@ -88,7 +92,7 @@ class CustomBuild(build):
8892
('build_ext', build.has_ext_modules),
8993
('build_py', build.has_pure_modules),
9094
('build_clib', build.has_c_libraries),
91-
('build_scripts', build.has_scripts),
95+
('build_scripts', build.has_scripts)
9296
]
9397

9498

@@ -98,17 +102,17 @@ class CustomBuild(build):
98102
libraries=LIBRARIES,
99103
extra_compile_args=COMPILE_ARGS,
100104
swig_opts=SWIG_OPTS,
101-
depends=DEPENDENTS,
105+
depends=DEPENDENTS
102106
)
103107

104108
classifiers = [
105109
"License :: OSI Approved :: Apache Software License",
106110
"Operating System :: POSIX :: Linux",
107-
"Programming Language :: Python :: 3.6",
111+
"Programming Language :: Python :: 3.6"
108112
]
109113

110114
setup(name='griddb_python',
111-
version='0.8.2',
115+
version='0.8.3',
112116
author='Katsuhiko Nonomura',
113117
author_email='contact@griddb.org',
114118
description='GridDB Python Client Library built using SWIG',
@@ -119,5 +123,5 @@ class CustomBuild(build):
119123
license='Apache Software License',
120124
cmdclass={'build': CustomBuild},
121125
long_description_content_type = 'text/x-rst',
122-
classifiers=classifiers,
126+
classifiers=classifiers
123127
)

0 commit comments

Comments
 (0)