Skip to content

Commit 705f1e9

Browse files
committed
Release 0.5
1 parent 15efa97 commit 705f1e9

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _Licensed under the MIT License_
77

88
GitHub project: https://github.com/Elektordi/obs-websocket-py
99

10-
PyPI package: https://pypi.python.org/pypi/obs-websocket-py
10+
PyPI package: https://pypi.org/project/obs-websocket-py/
1111

1212
## Installation
1313

@@ -68,7 +68,7 @@ obswebsocket.core.obsws = class obsws
6868
| :return: Nothing
6969
|
7070
| reconnect(self)
71-
| TODO (Not yet implemented)
71+
| Restart the connection to the websocket server
7272
|
7373
| :return: Nothing
7474
|

setup.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@
55
from distutils.core import setup
66
from setuptools.command.sdist import sdist
77

8-
version = "0.4"
8+
version = "0.5"
99

1010
# Convert README from Markdown to reStructuredText
1111
description = "Please take a look at README.md"
1212
try:
13-
description = open('README.md', 'r').read()
13+
description = open('README.md', 'rt').read()
1414
import pypandoc
1515
description = pypandoc.convert_text(description, 'rst', 'markdown_github')
1616
except ImportError:
1717
pass
1818
# If not possible, leave it in Markdown...
1919

20+
requirements = open('requirements.txt', 'rt').readlines()
21+
requirements = [x.strip() for x in requirements if x]
22+
2023

2124
# Generate classes
2225
class UpdateClasses(sdist):
@@ -32,7 +35,7 @@ def run(self):
3235
setup(
3336
name='obs-websocket-py',
3437
packages=['obswebsocket'],
35-
cmdclass={'sdist': UpdateClasses},
38+
# cmdclass={'sdist': UpdateClasses},
3639
license='MIT',
3740
version=version,
3841
description='Python library to communicate with an obs-websocket server.',
@@ -54,7 +57,7 @@ def run(self):
5457
'Programming Language :: Python :: 2',
5558
'Programming Language :: Python :: 2.7',
5659
'Programming Language :: Python :: 3',
57-
'Programming Language :: Python :: 3.5',
60+
'Programming Language :: Python :: 3.6',
5861
],
59-
install_requires=['websocket-client', 'six'],
62+
install_requires=requirements,
6063
)

0 commit comments

Comments
 (0)