Skip to content

Commit

Permalink
Few tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
glut23 committed May 15, 2024
1 parent 74dbe8b commit 9de1250
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
History
=======

0.5.0 (Unreleased)
0.5.0 (15-05-2024)
------------------

* Added styles support
* Added comments support
* Added from_string
* Added iterate over a slice of captions
* Refactor of the library
* Parser is no longer strict and ignores malformed blocks
* Improved BOM support allowing to keep the BOM or remove it
* Deprecated read_buffer in favor of from_buffer
* Removed support for old versions of Python: 3.4, 3.5 and 3.6
Expand Down
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
build:
rm -rf dist
mkdir dist
python setup.py sdist bdist_wheel
twine check dist/*

release_test: build
twine -r testpypi upload dist/*

release: build
twine upload dist/*

.PHONY: build release_test release
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
version=version,
description='WebVTT reader, writer and segmenter',
long_description=pathlib.Path('README.rst').read_text(),
long_description_content_type='text/x-rst',
author=author,
author_email=author_email,
url='https://github.com/glut23/webvtt-py',
Expand Down

0 comments on commit 9de1250

Please sign in to comment.