mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
26 lines
701 B
Python
26 lines
701 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
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'],
|
|
)
|