Skip to content

Commit c019fd7

Browse files
committed
version bump -> 0.1.1
1 parent fd08e61 commit c019fd7

File tree

6 files changed

+22
-21
lines changed

6 files changed

+22
-21
lines changed

.github/workflows/test_n_pub.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@ jobs:
5050
run: pip install -q .
5151

5252
- name: Run tests
53-
# run: pytest -vv
54-
uses: nick-fields/retry@v2
55-
with:
56-
timeout_seconds: 15
57-
max_attempts: 3
58-
command: pytest -vv
53+
run: pytest -vv
5954

6055
distribute:
6156
name: Distribution

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
55

66
## [Unreleased]
77

8-
- First beta release.
8+
## [0.1.1]
99

10-
[Unreleased]: https://github.com/python-ffmpegio/python-ffmpegio/compare/94bbcc4...HEAD
10+
- First release via GitHub Action
11+
12+
[Unreleased]: https://github.com/python-ffmpegio/python-ffmpegio/compare/v0.1.1...HEAD
13+
[0.1.1]: https://github.com/python-ffmpegio/python-ffmpegio/compare/94bbcc4...v0.1.1

README.rst

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
`ffmpeg-downloader`: Python FFmpeg release build binary downloader
2-
==================================================================
1+
`ffmpeg-downloader`: Python FFmpeg release build downloader
2+
===========================================================
33

44
|pypi| |pypi-status| |pypi-pyvers| |github-license| |github-status|
55

@@ -16,17 +16,17 @@
1616

1717
Python `ffmpeg-downloader` package automatically downloads the latest FFmpeg release binaries for Windows, Linux, & MacOS. Note
1818
while it supports Linux and MacOS, it is intended for Windows users, for whom there is no installer is currently
19-
available. Linux and MacOS users should install via OS package manager (e.g., `apt-get` for Ubuntu and `brew` for MacOS).
19+
available. Linux and MacOS users are encouraged to install via the OS package manager (e.g., `apt-get` for Ubuntu and `brew` for MacOS).
2020

2121
The FFmpeg release builds are downloaded from 3rd party hosts:
2222

23-
======= =========================================================================
23+
======= ==========================================================================
2424
Windows `https://www.gyan.dev/ffmpeg/builds <https://www.gyan.dev/ffmpeg/builds>`_
2525
Linux `https://johnvansickle.com/ffmpeg <https://johnvansickle.com/ffmpeg>`_
2626
MacOS `https://evermeet.cx/ffmpeg <https://evermeet.cx/ffmpeg>`_
27-
======= =========================================================================
27+
======= ==========================================================================
2828

29-
If you appreciate their efforts to build and host these builds, please consider donating on their websites.
29+
If you appreciate their effort to build and host these builds, please consider donating on their websites.
3030

3131
Installation
3232
------------
@@ -38,19 +38,22 @@ Installation
3838
Console Commands
3939
----------------
4040

41-
To download and install FFmpeg binaries:
41+
To download and install FFmpeg binaries
42+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4243

4344
.. code-block:: bash
4445
4546
python -m ffmpeg_downloader
4647
47-
To check for a newer release and update:
48+
To check for a newer release and update if available
49+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4850

4951
.. code-block:: bash
5052
5153
python -m ffmpeg_downloader --update
5254
53-
To uninstall:
55+
To uninstall
56+
^^^^^^^^^^^^
5457

5558
.. code-block:: bash
5659

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name = ffmpeg_downloader
33
version = attr: ffmpeg_downloader.__version__
44
description = FFmpeg Release Build Downloader
5-
# long_description_content_type = text/x-rst
6-
# long_description = file: README.md
5+
long_description_content_type = text/x-rst
6+
long_description = file: README.md
77
keywords = multimedia, ffmpeg, ffprobe
88
license = GPL-2.0 License
99
url=https://github.com/python-ffmpegio/python-ffmpeg-downloader

src/ffmpeg_downloader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.1.1"
22
__all__ = [
33
"ffmpeg_dir",
44
"ffmpeg_version",

src/ffmpeg_downloader/_download_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@contextmanager
1111
def download_base(url, content_type, timeout=None):
12-
with request.urlopen(url, timeout=timeout or 1.0, context=ctx) as response:
12+
with request.urlopen(url, timeout=timeout or 5.0, context=ctx) as response:
1313
# pprint(response.headers.get_content_type())
1414
if response.headers.get_content_type() != content_type:
1515
raise RuntimeError(f'"{url}" is not the expected content type.')

0 commit comments

Comments
 (0)