python-piped-api-client/setup.py

63 lines
1.5 KiB
Python

from pathlib import Path
import sys
sys.path.append('.')
import setuptools
__description__ = "Piped API client"
__author__ = "SKevo"
__copyright__ = "Copyright (c) 2021, SKevo"
__credits__ = ["SKevo"]
__license__ = "MIT"
__version__ = "v1.0.1-beta"
__maintainer__ = "SKevo"
__email__ = "me@kevo.link"
__status__ = "4 - Beta"
README_PATH = Path(__file__).parent.absolute() / Path('README.md')
try:
with open(README_PATH, 'r', encoding="UTF-8") as readme:
__readme__ = readme.read()
except:
__readme__ = "Failed to read README.md!"
__doc__ = __readme__
setuptools.setup(
name = 'piped-api',
packages = setuptools.find_packages(exclude=('tests',)),
long_description=__readme__,
long_description_content_type='text/markdown',
version = __version__,
license = __license__,
description = __description__,
keywords = ["piped", "api", "client"],
author = __author__,
author_email = __email__,
url = 'https://github.com/CWKevo/python-piped-api-client',
install_requires=['requests'],
classifiers=[
f'Development Status :: {__status__}',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)