mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2024-11-10 17:15:13 +08:00
36 lines
958 B
Python
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,
|
|
)
|