8000 Update setup.py · Powercoder64/ffmpeg-python@b002e8c · GitHub
[go: up one dir, main page]

Skip to content

Commit b002e8c

Browse files
committed
Update setup.py
1 parent 190593b commit b002e8c

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.python-version

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
2.6.9
2+
2.7.12
13
3.3.6
24
3.4.6
35
3.5.3
46
3.6.1
7+
pypy-5.7.0
58
jython-2.7.0

setup.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
from textwrap import dedent
33
import subprocess
44

5-
6-
def get_current_commit_hash():
7-
p = subprocess.Popen(['git', 'rev-parse', 'HEAD'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
8-
commit_hash = p.communicate()[0].strip()
9-
return commit_hash
10-
5+
version = '0.1.6'
6+
download_url = 'https://github.com/kkroening/ffmpeg-python/archive/v{}.zip'.format(version)
117

128
long_description = dedent("""\
139
ffmpeg-python: Python bindings for FFmpeg
@@ -18,10 +14,6 @@ def get_current_commit_hash():
1814
""")
1915

2016

21-
22-
commit_hash = get_current_commit_hash()
23-
download_url = 'https://github.com/kkroening/ffmpeg-python/archive/{}.zip'.format(commit_hash)
24-
2517
file_formats = [
2618
'aac',
2719
'ac3',
@@ -67,7 +59,7 @@ def get_current_commit_hash():
6759
packages=['ffmpeg'],
6860
setup_requires=['pytest-runner'],
6961
tests_require=['pytest'],
70-
version='0.1.6',
62+
version=version,
7163
description='Python bindings for FFmpeg - with support for complex filtering',
7264
author='Karl Kroening',
7365
author_email='karlk@kralnet.us',

0 commit comments

Comments
 (0)
0