Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
back-to committed Jun 15, 2022
1 parent cf5b345 commit e7e03c7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# Changelog

## unreleased 2.1.0.dev2
## unreleased 2.1.0.dev3

### Added

- YT-DLP can now also be used.

### Changed

- only read stdout from stream, ignore stderr

### Removed

- Windows support
- Python 3.6 support

## 2.0.0

Expand Down
2 changes: 1 addition & 1 deletion liveproxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.0.dev2'
__version__ = '2.1.0.dev3'
2 changes: 1 addition & 1 deletion liveproxy/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import errno
import logging
import os
Expand Down
4 changes: 4 additions & 0 deletions liveproxy/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
errno.EINVAL,
errno.EPIPE,
)
try:
ACCEPTABLE_ERRNO += (errno.WSAECONNABORTED,)
except AttributeError:
pass # Not windows

_re_streamlink = re.compile(r'streamlink', re.IGNORECASE)
_re_youtube_dl = re.compile(r'(?:youtube|yt)[_-]dl(?:p)?', re.IGNORECASE)
Expand Down
14 changes: 3 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import codecs
import os
import re
Expand Down Expand Up @@ -43,22 +43,14 @@ def find_version(*file_paths):
author_email='[email protected]',
packages=['liveproxy'],
entry_points={'console_scripts': ['liveproxy=liveproxy.main:main']},
python_requires='>=3.6, <4',
python_requires='>=3.7, <4',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Multimedia :: Video',
'Topic :: Utilities',
],
keywords='LiveProxy Streamlink Youtube-DL YT-DLP',
)

0 comments on commit e7e03c7

Please sign in to comment.