Skip to content

Commit ad03aa1

Browse files
committed
3.2.3
Fix a severe bug that causes the dependencies to be downloaded repeatedly.
1 parent 9a6462b commit ad03aa1

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The script will keep updated with the newest releases of the pre-compiled module
2323

2424
| `mpegCoder` | Uploaded |
2525
| :-----------: | :--------: |
26+
| `3.2.3` | :heavy_check_mark: |
2627
| `3.2.2` | :heavy_check_mark: |
2728
| `3.2.1` | :heavy_check_mark: |
2829
| `3.2.0` | :heavy_check_mark: |

scripts/init_linux.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import ctypes
1818
from . import webtools
1919

20-
__version__ = '3.2.2'
20+
__version__ = '3.2.3'
2121
__inner_version__ = '3.2.0'
2222
PY_VERSION = sysconfig.get_python_version()
2323

@@ -75,7 +75,7 @@ def add_dependencies(self, *names):
7575
)
7676
if (
7777
(not os.path.isdir(os.path.join(basedir, 'lib'))) or # noqa: W504
78-
(not os.path.isdir(os.path.join(basedir, 'lib', 'libcrypto.so.1.1')))
78+
(not os.path.isfile(os.path.join(basedir, 'lib', 'libcrypto.so.1.1')))
7979
): # Fix a missing dependency problem caused by libssh.
8080
webtools.download_tarball(
8181
'cainmagi', 'FFmpeg-Encoder-Decoder-for-Python',

scripts/init_win.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import sysconfig
1717
from . import webtools
1818

19-
__version__ = '3.2.2'
19+
__version__ = '3.2.3'
2020
__inner_version__ = '3.2.0'
2121
PY_VERSION = sysconfig.get_python_version()
2222

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def find_packages(path=('.', ), prefix=''):
4343
yield name
4444

4545

46-
VERSION = '3.2.2'
46+
VERSION = '3.2.3'
4747
DEPENDENCY_VERSION = '3.2.0'
4848
PUBLISH_VERSION = ''
4949
# PUBLISH_VERSION Should begin from '', each failed attmpt, it need to be
@@ -119,7 +119,7 @@ def fetch_dependencies(python_ver='3.6', is_linux=False, target_path='.'):
119119
)
120120
if (
121121
(not os.path.isdir(os.path.join(target_path, 'lib'))) or # noqa: W504
122-
(not os.path.isdir(os.path.join(target_path, 'lib', 'libcrypto.so.1.1')))
122+
(not os.path.isfile(os.path.join(target_path, 'lib', 'libcrypto.so.1.1')))
123123
): # Fix a missing dependency problem caused by libssh.
124124
webtools.download_tarball(
125125
'cainmagi', 'FFmpeg-Encoder-Decoder-for-Python',

0 commit comments

Comments
 (0)