python-plexapi/setup.py
2015-03-09 00:28:32 -04:00

25 lines
677 B
Python

#!/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',
url='https://github.com/mjs7231/plexapi',
packages=find_packages(),
install_requires=['requests'],
long_description=open('README.md').read(),
keywords=['plex', 'api'],
)