This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch python-wper
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/python-wper by this push:
new fe37d733 mingw
fe37d733 is described below
commit fe37d733b90fda8770d57005f2ac0280e340b945
Author: HTHou <[email protected]>
AuthorDate: Mon Jun 24 10:12:24 2024 +0800
mingw
---
python/setup.py | 1 -
python/test.py | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/python/setup.py b/python/setup.py
index da5c2701..ce608b82 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -89,7 +89,6 @@ if platform.system() == "Windows":
)
]
os.add_dll_directory(libtsfile_dir)
- os.add_dll_directory(np.get_include())
else:
ext_modules_tsfile = [
Extension(
diff --git a/python/test.py b/python/test.py
index 53fa8d43..52aa0a87 100644
--- a/python/test.py
+++ b/python/test.py
@@ -18,11 +18,12 @@
import os
import shutil
-
+import platform
import unittest as ut
import numpy as np
import pandas as pd
-
+if platform.system() == "Windows":
+ os.add_dll_directory(os.path.join(os.path.dirname(__file__), "rsfile"))
import tsfile as ts
TABLE_NAME = "test_table"