yt-dlp-bot/yt_shared/setup.py

37 lines
958 B
Python
Raw Normal View History

2022-02-04 06:21:27 +08:00
from setuptools import find_packages, setup
# metadata
VERSION = (0, 0, 1)
__author__ = 'tropicoo'
__email__ = 'good@example.com'
__version__ = '.'.join(map(str, VERSION))
setup_requirements = []
2022-06-11 04:35:48 +08:00
def get_requirements() -> list[str]:
2022-11-03 01:56:19 +08:00
"""This hack is needed to actually install deps in the Docker."""
2022-06-11 04:35:48 +08:00
with open('requirements_shared.txt') as f_in:
return f_in.read().splitlines()
2022-02-04 06:21:27 +08:00
setup(
name='yt_shared',
author=__author__,
author_email=__email__,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
2022-11-03 01:56:19 +08:00
'Programming Language :: Python :: 3.11',
2022-02-04 06:21:27 +08:00
],
description='Common shared utils for yt downloader bot',
2022-06-11 04:35:48 +08:00
install_requires=get_requirements(),
2022-02-04 06:21:27 +08:00
include_package_data=True,
keywords='yt-shared',
packages=find_packages(),
setup_requires=setup_requirements,
version=__version__,
zip_safe=False,
)