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 27f898af mingw
27f898af is described below
commit 27f898af1995729c6d5d3fb07ae37c39ab29e437
Author: HTHou <[email protected]>
AuthorDate: Fri Jun 21 23:13:20 2024 +0800
mingw
---
python/setup.py | 1 +
python/tsfile/tsfile.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/python/setup.py b/python/setup.py
index 816bddbd..028525dc 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -48,6 +48,7 @@ class BuildExt(build_ext):
def build_extensions(self):
if platform.system() == "Windows":
os.add_dll_directory(libtsfile_dir)
+ os.add_dll_directory(libtsfile_shard_dir)
numpy_include = np.get_include()
for ext in self.extensions:
ext.include_dirs.append(numpy_include)
diff --git a/python/tsfile/tsfile.py b/python/tsfile/tsfile.py
index c5f67783..1b83029d 100644
--- a/python/tsfile/tsfile.py
+++ b/python/tsfile/tsfile.py
@@ -17,7 +17,7 @@
#
import os
-from tsfile_pywrapper import tsfile_reader, tsfile_writer
+from .tsfile_pywrapper import tsfile_reader, tsfile_writer
from typing import overload
from pandas import DataFrame