Merge pull request #3301 from taosdata/fmaster/lihui
[modify oem macro define]
This commit is contained in:
commit
0372187961
|
@ -4,7 +4,7 @@ IF (TD_LINUX)
|
||||||
INSTALL(CODE "execute_process(COMMAND chmod 777 ${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})")
|
INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} ${TD_COMMUNITY_DIR} ${PROJECT_BINARY_DIR})")
|
||||||
ELSEIF (TD_WINDOWS)
|
ELSEIF (TD_WINDOWS)
|
||||||
IF (TD_OEM_POWER)
|
IF (TD_POWER)
|
||||||
SET(CMAKE_INSTALL_PREFIX C:/PowerDB)
|
SET(CMAKE_INSTALL_PREFIX C:/PowerDB)
|
||||||
ELSE ()
|
ELSE ()
|
||||||
SET(CMAKE_INSTALL_PREFIX C:/TDengine)
|
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 "MESSAGE(\"make install script: ${TD_MAKE_INSTALL_SH}\")")
|
||||||
INSTALL(CODE "execute_process(COMMAND chmod 777 ${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)")
|
INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} ${TD_COMMUNITY_DIR} ${PROJECT_BINARY_DIR} Darwin)")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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
|
|
|
@ -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
|
|
|
@ -1 +0,0 @@
|
||||||
taos
|
|
Binary file not shown.
Binary file not shown.
|
@ -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
|
|
|
@ -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
|
|
|
@ -1 +0,0 @@
|
||||||
taos
|
|
|
@ -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()
|
|
Binary file not shown.
Binary file not shown.
|
@ -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
|
|
|
@ -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
|
|
|
@ -1 +0,0 @@
|
||||||
taos
|
|
Binary file not shown.
Binary file not shown.
|
@ -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
|
|
|
@ -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
|
|
|
@ -1 +0,0 @@
|
||||||
taos
|
|
Loading…
Reference in New Issue