Skip to content

Commit

Permalink
Simplify packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlawren committed Aug 27, 2019
1 parent eb07dfd commit cac839f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
File renamed without changes.
18 changes: 11 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
import os
from setuptools import setup

def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
with open('README.md') as f:
long_description = f.read()

VERSION="0.0.1"

setup(
name='plexauth',
version='0.0.1',
version=VERSION,
description='Handles the authorization flow to obtain tokens from Plex.tv via external redirection.',
long_description=read('README.md'),
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/jjlawren/python-plexauth/',
license='MIT',
author='Jason Lawrence',
author_email='[email protected]',
packages=['plexauth'],
platforms='any',
py_modules=['plexauth'],
install_requires=['aiohttp'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)

0 comments on commit cac839f

Please sign in to comment.