Skip to content

Commit

Permalink
fix test action & keep internal impl private
Browse files Browse the repository at this point in the history
  • Loading branch information
congzhangzh committed Nov 3, 2024
1 parent 85cbf86 commit e52ffa7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/webview.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_library.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit e52ffa7

Please sign in to comment.