2022-01-23 10:14:52 +00:00
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
import sys
|
|
|
|
sys.path.append('.')
|
|
|
|
|
|
|
|
import setuptools
|
|
|
|
|
|
|
|
|
2022-02-26 09:35:58 +00:00
|
|
|
__description__ = "Piped API client"
|
2022-01-23 10:14:52 +00:00
|
|
|
__author__ = "SKevo"
|
|
|
|
__copyright__ = "Copyright (c) 2021, SKevo"
|
|
|
|
__credits__ = ["SKevo"]
|
|
|
|
__license__ = "MIT"
|
|
|
|
__version__ = "v1.0.0-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(
|
2022-02-27 07:40:58 +00:00
|
|
|
name = 'piped-api',
|
|
|
|
packages = setuptools.find_packages(exclude=('tests',), include=('piped_api',)),
|
2022-01-23 10:14:52 +00:00
|
|
|
|
|
|
|
long_description=__readme__,
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
|
|
|
|
version = __version__,
|
|
|
|
license = __license__,
|
|
|
|
description = __description__,
|
2022-02-26 09:35:58 +00:00
|
|
|
keywords = ["piped", "api", "client"],
|
2022-01-23 10:14:52 +00:00
|
|
|
|
|
|
|
author = __author__,
|
|
|
|
author_email = __email__,
|
|
|
|
|
2022-02-26 09:35:58 +00:00
|
|
|
url = 'https://github.com/CWKevo/python-piped-api-client',
|
2022-01-23 10:14:52 +00:00
|
|
|
|
2022-02-26 09:35:58 +00:00
|
|
|
install_requires=['requests'],
|
2022-01-23 10:14:52 +00:00
|
|
|
|
|
|
|
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',
|
|
|
|
],
|
|
|
|
)
|