| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,8 @@ | |||
| 1 | + 2.6.9 | ||
| 2 | + 2.7.12 | ||
| 1 | 3 | 3.3.6 | |
| 2 | 4 | 3.4.6 | |
| 3 | 5 | 3.5.3 | |
| 4 | 6 | 3.6.1 | |
| 7 | + pypy-5.7.0 | ||
| 5 | 8 | jython-2.7.0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,12 +2,8 @@ | |||
| 2 | 2 | from textwrap import dedent | |
| 3 | 3 | import subprocess | |
| 4 | 4 | ||
| 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) | ||
| 11 | 7 | ||
| 12 | 8 | long_description = dedent("""\ | |
| 13 | 9 | ffmpeg-python: Python bindings for FFmpeg | |
@@ -18,10 +14,6 @@ def get_current_commit_hash(): | |||
| 18 | 14 | """) | |
| 19 | 15 | ||
| 20 | 16 | ||
| 21 | - | ||
| 22 | - commit_hash = get_current_commit_hash() | ||
| 23 | - download_url = 'https://github.com/kkroening/ffmpeg-python/archive/{}.zip'.format(commit_hash) | ||
| 24 | - | ||
| 25 | 17 | file_formats = [ | |
| 26 | 18 | 'aac', | |
| 27 | 19 | 'ac3', | |
@@ -67,7 +59,7 @@ def get_current_commit_hash(): | |||
| 67 | 59 | packages=['ffmpeg'], | |
| 68 | 60 | setup_requires=['pytest-runner'], | |
| 69 | 61 | tests_require=['pytest'], | |
| 70 | - version='0.1.6', | ||
| 62 | + version=version, | ||
| 71 | 63 | description='Python bindings for FFmpeg - with support for complex filtering', | |
| 72 | 64 | author='Karl Kroening', | |
| 73 | 65 | author_email='karlk@kralnet.us', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments