mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
commit 0c81e3c0ba89c86f6d17d51d5056146e177cace5
Author: Huo Linhe <linhehuo@gmail.com>
Date: Fri May 14 10:27:13 2021 +0800
[TD-4160]<fix>: remove python connector soft links, fix tests and documents
commit f439fce413423e7d7c97eef180c93d63dedab32e
Author: Huo Linhe <linhehuo@gmail.com>
Date: Wed May 12 18:50:53 2021 +0800
[TD-182]: bump python connector version to v2.0.10 (#6091)
Also fix url error in setup.py
commit 4ae55d494a262e482f6b34e8bf193cc6af62a886
Author: Huo Linhe <linhehuo@gmail.com>
Date: Wed May 12 09:49:26 2021 +0800
[TD-4370]<fix>: merge python connector changes to master
Inludes:
[TD-182]<enhance>: use single repo for python connector (#6036)
* [TD-182]<enhance>: use single repo for python connector
Remove code for each platform and build up one single python code base
for windows/osx/linux platforms and python2/python3 runtime.
* [TD-182]<enhance>: remove redundant code in python connector
* [TD-4149] <fix>: fix python connection config error
13 lines
659 B
Bash
Executable file
13 lines
659 B
Bash
Executable file
# This is the script for us to run our Python test cases with 2 important constraints:
|
|
#
|
|
# 1. No root/sudo special rights is needed.
|
|
# 2. No files are needed outside the development tree, everything is done in the local source code directory
|
|
|
|
# First we need to set up a path for Python to find our own TAOS modules, so that "import" can work.
|
|
export PYTHONPATH=$(pwd)/../../src/connector/python
|
|
|
|
# Then let us set up the library path so that our compiled SO file can be loaded by Python
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/../../build/build/lib
|
|
|
|
# Now we are all let, and let's run our cases!
|
|
python3 ./test.py -m 127.0.0.1 -f insert/basic.py
|