mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-26 13:40:22 +00:00
25 lines
677 B
Python
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'],
|
|
)
|