diff --git a/cmake/install.inc b/cmake/install.inc index decb25e3e7197916b6d637b471dce17236fb200c..8016f238086e2af686d86a22784b2bd6c306c548 100755 --- a/cmake/install.inc +++ b/cmake/install.inc @@ -4,7 +4,7 @@ IF (TD_LINUX) INSTALL(CODE "execute_process(COMMAND chmod 777 ${TD_MAKE_INSTALL_SH})") INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} ${TD_COMMUNITY_DIR} ${PROJECT_BINARY_DIR})") ELSEIF (TD_WINDOWS) - IF (TD_OEM_POWER) + IF (TD_POWER) SET(CMAKE_INSTALL_PREFIX C:/PowerDB) ELSE () SET(CMAKE_INSTALL_PREFIX C:/TDengine) @@ -35,4 +35,4 @@ ELSEIF (TD_DARWIN) INSTALL(CODE "MESSAGE(\"make install script: ${TD_MAKE_INSTALL_SH}\")") INSTALL(CODE "execute_process(COMMAND chmod 777 ${TD_MAKE_INSTALL_SH})") INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} ${TD_COMMUNITY_DIR} ${PROJECT_BINARY_DIR} Darwin)") -ENDIF () \ No newline at end of file +ENDIF () diff --git a/src/connector/python/linux/python2/dist/taos-1.4.15.linux-x86_64.tar.gz b/src/connector/python/linux/python2/dist/taos-1.4.15.linux-x86_64.tar.gz deleted file mode 100644 index b9c4e9e5718f5b35956fc46e37a5a67d41a1ae3f..0000000000000000000000000000000000000000 Binary files a/src/connector/python/linux/python2/dist/taos-1.4.15.linux-x86_64.tar.gz and /dev/null differ diff --git a/src/connector/python/linux/python2/dist/taos-1.4.15.tar.gz b/src/connector/python/linux/python2/dist/taos-1.4.15.tar.gz deleted file mode 100644 index c50a957a2a6440342d37ad57b31a4a86d15cc2d4..0000000000000000000000000000000000000000 Binary files a/src/connector/python/linux/python2/dist/taos-1.4.15.tar.gz and /dev/null differ diff --git a/src/connector/python/linux/python2/taos.egg-info/PKG-INFO b/src/connector/python/linux/python2/taos.egg-info/PKG-INFO deleted file mode 100644 index 96bf9059fd076214c159e8824c3e060bb7c683df..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python2/taos.egg-info/PKG-INFO +++ /dev/null @@ -1,13 +0,0 @@ -Metadata-Version: 2.1 -Name: taos -Version: 2.0.0 -Summary: TDengine python client package -Home-page: https://github.com/pypa/sampleproject -Author: Taosdata Inc. -Author-email: support@taosdata.com -License: UNKNOWN -Description: # TDengine python client interface -Platform: UNKNOWN -Classifier: Programming Language :: Python :: 2 -Classifier: Operating System :: Linux -Description-Content-Type: text/markdown diff --git a/src/connector/python/linux/python2/taos.egg-info/SOURCES.txt b/src/connector/python/linux/python2/taos.egg-info/SOURCES.txt deleted file mode 100644 index 23a38056c07fbfca16754614dc0389d6893893ff..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python2/taos.egg-info/SOURCES.txt +++ /dev/null @@ -1,13 +0,0 @@ -README.md -setup.py -taos/__init__.py -taos/cinterface.py -taos/connection.py -taos/constants.py -taos/cursor.py -taos/dbapi.py -taos/error.py -taos.egg-info/PKG-INFO -taos.egg-info/SOURCES.txt -taos.egg-info/dependency_links.txt -taos.egg-info/top_level.txt \ No newline at end of file diff --git a/src/connector/python/linux/python2/taos.egg-info/dependency_links.txt b/src/connector/python/linux/python2/taos.egg-info/dependency_links.txt deleted file mode 100644 index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python2/taos.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/connector/python/linux/python2/taos.egg-info/top_level.txt b/src/connector/python/linux/python2/taos.egg-info/top_level.txt deleted file mode 100644 index 6b5f0c008b9a67f85944b090fb33fc84bfcaaf7b..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python2/taos.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -taos diff --git a/src/connector/python/linux/python3/dist/taos-1.4.15.linux-x86_64.tar.gz b/src/connector/python/linux/python3/dist/taos-1.4.15.linux-x86_64.tar.gz deleted file mode 100644 index 422fa8db5033ee3b1f3c586413a65ebeab22561d..0000000000000000000000000000000000000000 Binary files a/src/connector/python/linux/python3/dist/taos-1.4.15.linux-x86_64.tar.gz and /dev/null differ diff --git a/src/connector/python/linux/python3/dist/taos-1.4.15.tar.gz b/src/connector/python/linux/python3/dist/taos-1.4.15.tar.gz deleted file mode 100644 index 51622a16a53a5945ebc9566227ee8e59599c5783..0000000000000000000000000000000000000000 Binary files a/src/connector/python/linux/python3/dist/taos-1.4.15.tar.gz and /dev/null differ diff --git a/src/connector/python/linux/python3/taos.egg-info/PKG-INFO b/src/connector/python/linux/python3/taos.egg-info/PKG-INFO deleted file mode 100644 index 1e6c829ef1d8331852e89204596f60cd00a17dfc..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python3/taos.egg-info/PKG-INFO +++ /dev/null @@ -1,13 +0,0 @@ -Metadata-Version: 2.1 -Name: taos -Version: 2.0.0 -Summary: TDengine python client package -Home-page: https://github.com/pypa/sampleproject -Author: Taosdata Inc. -Author-email: support@taosdata.com -License: UNKNOWN -Description: # TDengine python client interface -Platform: UNKNOWN -Classifier: Programming Language :: Python :: 3 -Classifier: Operating System :: Linux -Description-Content-Type: text/markdown diff --git a/src/connector/python/linux/python3/taos.egg-info/SOURCES.txt b/src/connector/python/linux/python3/taos.egg-info/SOURCES.txt deleted file mode 100644 index 23a38056c07fbfca16754614dc0389d6893893ff..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python3/taos.egg-info/SOURCES.txt +++ /dev/null @@ -1,13 +0,0 @@ -README.md -setup.py -taos/__init__.py -taos/cinterface.py -taos/connection.py -taos/constants.py -taos/cursor.py -taos/dbapi.py -taos/error.py -taos.egg-info/PKG-INFO -taos.egg-info/SOURCES.txt -taos.egg-info/dependency_links.txt -taos.egg-info/top_level.txt \ No newline at end of file diff --git a/src/connector/python/linux/python3/taos.egg-info/dependency_links.txt b/src/connector/python/linux/python3/taos.egg-info/dependency_links.txt deleted file mode 100644 index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python3/taos.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/connector/python/linux/python3/taos.egg-info/top_level.txt b/src/connector/python/linux/python3/taos.egg-info/top_level.txt deleted file mode 100644 index 6b5f0c008b9a67f85944b090fb33fc84bfcaaf7b..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python3/taos.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -taos diff --git a/src/connector/python/linux/python3/test.py b/src/connector/python/linux/python3/test.py deleted file mode 100644 index b11b2c76a05abb845600b22f7cb6036e4d38dcc3..0000000000000000000000000000000000000000 --- a/src/connector/python/linux/python3/test.py +++ /dev/null @@ -1,21 +0,0 @@ -from taos.cinterface import CTaosInterface -from taos.error import * -from taos.subscription import TDengineSubscription -from taos.connection import TDengineConnection - - -if __name__ == '__main__': - conn = TDengineConnection( - host="127.0.0.1", user="root", password="taosdata", database="test") - - # Generate a cursor object to run SQL commands - sub = conn.subscribe(False, "test", "select * from log0601;", 1000) - - for i in range(100): - print(i) - data = sub.consume() - for d in data: - print(d) - - sub.close() - conn.close() diff --git a/src/connector/python/windows/python2/dist/taos-1.4.15-py2-none-any.whl b/src/connector/python/windows/python2/dist/taos-1.4.15-py2-none-any.whl deleted file mode 100644 index 6e97d3a5e40a62e80b633ab7e728839b4299b506..0000000000000000000000000000000000000000 Binary files a/src/connector/python/windows/python2/dist/taos-1.4.15-py2-none-any.whl and /dev/null differ diff --git a/src/connector/python/windows/python2/dist/taos-1.4.15.tar.gz b/src/connector/python/windows/python2/dist/taos-1.4.15.tar.gz deleted file mode 100644 index dcc20602426b475eaa88cd9aa9877a53cd72a62e..0000000000000000000000000000000000000000 Binary files a/src/connector/python/windows/python2/dist/taos-1.4.15.tar.gz and /dev/null differ diff --git a/src/connector/python/windows/python2/taos.egg-info/PKG-INFO b/src/connector/python/windows/python2/taos.egg-info/PKG-INFO deleted file mode 100644 index 9babb669a7570ca0dd2dcf2e808b9c8a07a61adc..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python2/taos.egg-info/PKG-INFO +++ /dev/null @@ -1,13 +0,0 @@ -Metadata-Version: 2.1 -Name: taos -Version: 2.0.0 -Summary: TDengine python client package -Home-page: https://github.com/pypa/sampleproject -Author: Taosdata Inc. -Author-email: support@taosdata.com -License: UNKNOWN -Description: # TDengine python client interface -Platform: UNKNOWN -Classifier: Programming Language :: Python :: 2 -Classifier: Operating System :: Windows -Description-Content-Type: text/markdown diff --git a/src/connector/python/windows/python2/taos.egg-info/SOURCES.txt b/src/connector/python/windows/python2/taos.egg-info/SOURCES.txt deleted file mode 100644 index 23a38056c07fbfca16754614dc0389d6893893ff..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python2/taos.egg-info/SOURCES.txt +++ /dev/null @@ -1,13 +0,0 @@ -README.md -setup.py -taos/__init__.py -taos/cinterface.py -taos/connection.py -taos/constants.py -taos/cursor.py -taos/dbapi.py -taos/error.py -taos.egg-info/PKG-INFO -taos.egg-info/SOURCES.txt -taos.egg-info/dependency_links.txt -taos.egg-info/top_level.txt \ No newline at end of file diff --git a/src/connector/python/windows/python2/taos.egg-info/dependency_links.txt b/src/connector/python/windows/python2/taos.egg-info/dependency_links.txt deleted file mode 100644 index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python2/taos.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/connector/python/windows/python2/taos.egg-info/top_level.txt b/src/connector/python/windows/python2/taos.egg-info/top_level.txt deleted file mode 100644 index 6b5f0c008b9a67f85944b090fb33fc84bfcaaf7b..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python2/taos.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -taos diff --git a/src/connector/python/windows/python3/dist/taos-1.4.15-py3-none-any.whl b/src/connector/python/windows/python3/dist/taos-1.4.15-py3-none-any.whl deleted file mode 100644 index 3c4c8a34a6afd0121fe6c560f0d9499d8dbf5a9c..0000000000000000000000000000000000000000 Binary files a/src/connector/python/windows/python3/dist/taos-1.4.15-py3-none-any.whl and /dev/null differ diff --git a/src/connector/python/windows/python3/dist/taos-1.4.15.tar.gz b/src/connector/python/windows/python3/dist/taos-1.4.15.tar.gz deleted file mode 100644 index 6294828f6db7768f6b307b36f1cc3d43b4da0749..0000000000000000000000000000000000000000 Binary files a/src/connector/python/windows/python3/dist/taos-1.4.15.tar.gz and /dev/null differ diff --git a/src/connector/python/windows/python3/taos.egg-info/PKG-INFO b/src/connector/python/windows/python3/taos.egg-info/PKG-INFO deleted file mode 100644 index 6213b0d165ed4d807e35038807c9f20b33cd921e..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python3/taos.egg-info/PKG-INFO +++ /dev/null @@ -1,13 +0,0 @@ -Metadata-Version: 2.1 -Name: taos -Version: 2.0.0 -Summary: TDengine python client package -Home-page: https://github.com/pypa/sampleproject -Author: Hongze Cheng -Author-email: hzcheng@taosdata.com -License: UNKNOWN -Description: # TDengine python client interface -Platform: UNKNOWN -Classifier: Programming Language :: Python :: 3 -Classifier: Operating System :: Windows -Description-Content-Type: text/markdown diff --git a/src/connector/python/windows/python3/taos.egg-info/SOURCES.txt b/src/connector/python/windows/python3/taos.egg-info/SOURCES.txt deleted file mode 100644 index 0dbf14e5b66927ae3af1e99843c3d5ab84a222f7..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python3/taos.egg-info/SOURCES.txt +++ /dev/null @@ -1,13 +0,0 @@ -README.md -setup.py -taos/__init__.py -taos/cinterface.py -taos/connection.py -taos/constants.py -taos/cursor.py -taos/dbapi.py -taos/error.py -taos.egg-info/PKG-INFO -taos.egg-info/SOURCES.txt -taos.egg-info/dependency_links.txt -taos.egg-info/top_level.txt \ No newline at end of file diff --git a/src/connector/python/windows/python3/taos.egg-info/dependency_links.txt b/src/connector/python/windows/python3/taos.egg-info/dependency_links.txt deleted file mode 100644 index d3f5a12faa99758192ecc4ed3fc22c9249232e86..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python3/taos.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/connector/python/windows/python3/taos.egg-info/top_level.txt b/src/connector/python/windows/python3/taos.egg-info/top_level.txt deleted file mode 100644 index bb442feabdde9fc9c6e9bfca85ca25a1ba0e42ab..0000000000000000000000000000000000000000 --- a/src/connector/python/windows/python3/taos.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -taos