diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8325857..1186c6d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -42,7 +42,7 @@ jobs: - name: Download platform binary run: | - python -c "import os, sys; sys.path.append(os.path.join(os.getcwd(), 'src')); from webview.ffi import _download_library; _download_library()" + python -c "import os, sys; sys.path.append(os.path.join(os.getcwd(), 'src')); from _webview_ffi import _be_sure_libraries; _be_sure_libraries()" - name: Build wheels run: | diff --git a/src/ffi.py b/src/_webview_ffi.py similarity index 100% rename from src/ffi.py rename to src/_webview_ffi.py diff --git a/src/webview.py b/src/webview.py index 8a76d63..a767d39 100644 --- a/src/webview.py +++ b/src/webview.py @@ -2,7 +2,7 @@ from typing import Optional, Callable, Any import json import ctypes -from ffi import _webview_lib, _encode_c_string +from _webview_ffi import _webview_lib, _encode_c_string class SizeHint(IntEnum): NONE = 0 diff --git a/tests/test_library.py b/tests/test_library.py index 1c0f0c5..01e857d 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -1,5 +1,5 @@ import unittest -from ffi import _webview_lib +from _webview_ffi import _webview_lib class TestLibrary(unittest.TestCase): def test_library_load(self):