Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Commit

Permalink
Made pyip compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealLink committed Apr 19, 2017
1 parent 60ae0d2 commit 79bca3f
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 29 deletions.
2 changes: 1 addition & 1 deletion LICENSE → LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Dennis Karpienski
Copyright (c) 2017 Dennis Karpienski

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# pylgtv
Library to control webOS based LG Tv devices

## Example

```python
from pylgtv import WebOsClient

import sys
import logging

logging.basicConfig(stream=sys.stdout, level=logging.INFO)

try:
webos_client = WebOsClient('192.168.0.112')
#webos_client.launch_app('netflix')

for app in webos_client.get_apps():
print(app)
except:
print("Error connecting to TV")
```
15 changes: 0 additions & 15 deletions example.py

This file was deleted.

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
30 changes: 17 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
from setuptools import setup
from distutils.core import setup

setup(name='pylgtv',
version='0.1.5',
description='Library to control webOS based LG Tv devices',
url='https://github.com/TheRealLink/pylgtv',
author='Dennis Karpienski',
author_email='dennis@karpienski.de',
license='MIT',
packages=['pylgtv'],
package_dir={'pylgtv': 'pylgtv'},
package_data={'pylgtv': ['handshake.json']},
install_requires=['websockets', 'asyncio'],
zip_safe=True)
setup(
name = 'pylgtv',
packages = ['pylgtv'],
package_dir = {'pylgtv': 'pylgtv'},
package_data = {'pylgtv': ['handshake.json']},
install_requires = ['websockets', 'asyncio'],
zip_safe = True,
version = '0.1.5',
description = 'Library to control webOS based LG Tv devices',
author = 'Dennis Karpienski',
author_email = 'dennis@karpienski.de',
url = 'https://github.com/TheRealLink/pylgtv',
download_url = 'https://github.com/TheRealLink/pylgtv/archive/0.1.5.tar.gz',
keywords = ['webos', 'tv'],
classifiers = [],
)

0 comments on commit 79bca3f

Please sign in to comment.