Skip to content

Commit f05464c

Browse files
committed
3.1.0-b
Fix a bug of the installation script.
1 parent 794ebde commit f05464c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ def find_packages(path=('.', ), prefix=''):
3232
if ispkg:
3333
yield name
3434

35-
VERSION = '3.1.0-b'
35+
VERSION = '3.1.0'
36+
PUBLISH_VERSION = '-b'
37+
# PUBLISH_VERSION Should begin from '', each failed attmpt, it need to be
38+
# changed as '-b', '-c', ...
3639

3740
INSTALL_REQUIRES_FILE = [
3841
'numpy>=1.16.0',
@@ -134,7 +137,7 @@ def has_ext_modules(foo):
134137

135138
setup(
136139
name='mpegCoder',
137-
version=VERSION,
140+
version=VERSION + PUBLISH_VERSION,
138141
description='A FFmpeg module which could provide a class for encoding, '
139142
'decoding, or streaming a video in any format.',
140143
author='Yuchen Jin',

0 commit comments

Comments
 (0)