python-plexapi/setup.py

26 lines
677 B
Python
Raw Normal View History

2014-12-29 03:21:58 +00:00
#!/usr/bin/python
"""
Install PlexAPI
"""
from distutils.core import setup
from setuptools import find_packages
# Fetch the current version
with open('plexapi/__init__.py') as handle:
for line in handle.readlines():
if line.startswith('VERSION'):
VERSION = line.split('=')[1].strip(" '\n")
setup(
name='PlexAPI',
version=VERSION,
description='Python bindings for the Plex API.',
author='Michael Shepanski',
author_email='mjs7231@gmail.com',
2015-03-09 04:28:32 +00:00
url='https://github.com/mjs7231/plexapi',
2014-12-29 03:21:58 +00:00
packages=find_packages(),
install_requires=['requests'],
long_description=open('README.md').read(),
keywords=['plex', 'api'],
)