Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anibali committed Mar 17, 2024
1 parent 5d5404c commit f79f8c3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ core
/.eggs/
/conan_output/
*.so
/.envrc
2 changes: 1 addition & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Homepage = "https://github.com/anibali/pywebp"

[build-system]
requires = [
"cffi>=1.0.0",
"cffi>=1.12",
"conan>=2.0",
"setuptools>=45",
"wheel",
Expand Down
8 changes: 4 additions & 4 deletions webp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,10 @@ def imread(file_path: str, *args: Any, pilmode: str = 'RGBA') -> "np.ndarray[Any


def _mimwrite_pics(
file_path: str,
pics: List[WebPPicture],
*args: Any,
fps: float = 30.0,
file_path: str,
pics: List[WebPPicture],
*args: Any,
fps: float = 30.0,
**kwargs: Any
) -> None:
enc_opts = WebPAnimEncoderOptions.new()
Expand Down
2 changes: 1 addition & 1 deletion webp_build/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def install_libwebp(arch: str) -> Dict[Any, Any]:
conan_output = os.path.join('conan_output', arch)

result = subprocess.run([
'conan', 'install',
'conan', 'install',
*[x for s in settings for x in ('-s', s)],
*[x for b in build for x in ('-b', b)],
'-of', conan_output, '--deployer=direct_deploy', '--format=json', '.'
Expand Down

0 comments on commit f79f8c3

Please sign in to comment.