Skip to content

Commit ad77213

Browse files
committed
3.2.0
Fix the import issue of webtools.
1 parent 440bd17 commit ad77213

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: scripts/init_linux.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import os
1616
import sysconfig
1717
import ctypes
18-
import webtools
18+
from . import webtools
1919

2020
__verion__ = '3.2.0'
2121
PY_VERSION = sysconfig.get_python_version()
@@ -118,6 +118,7 @@ def add_dependencies(self, *names):
118118

119119

120120
__all__ = (
121+
'webtools',
121122
'setGlobal', 'readme',
122123
'MpegDecoder', 'MpegEncoder',
123124
'MpegClient', 'MpegServer'

Diff for: scripts/init_win.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import os
1616
import sysconfig
17-
import webtools
17+
from . import webtools
1818

1919
__verion__ = '3.2.0'
2020
PY_VERSION = sysconfig.get_python_version()
@@ -49,6 +49,7 @@ def get_release_name(mpegcoder_ver='3.x', python_ver='3.6'):
4949

5050

5151
__all__ = (
52+
'webtools',
5253
'setGlobal', 'readme',
5354
'MpegDecoder', 'MpegEncoder',
5455
'MpegClient', 'MpegServer'

0 commit comments

Comments
 (0)