55"""
66
77from distutils .command .build import build
8+ import os
89
910try :
1011 from setuptools import setup , Extension
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
4143DEPENDENTS = [
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
6366INCLUDES = [
6467 'include' ,
6568 'src' ,
69+ os .environ ['HOME' ] + '/.pyenv/versions/3.6.9/lib/python3.6/site-packages/numpy/core/include/'
6670]
6771
6872COMPILE_ARGS = [
7175
7276LIBRARIES = [
7377 'rt' ,
74- 'gridstore' ,
78+ 'gridstore'
7579]
7680
7781SWIG_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
104108classifiers = [
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
110114setup (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