yt-dlp-bot/yt_shared/setup.py
Taras Terletskyi 20d8d55a66 new update
2022-11-04 19:07:52 +02:00

36 lines
958 B
Python

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