mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2024-12-27 01:27:11 +08:00
37 lines
1,008 B
Python
37 lines
1,008 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',
|
|
'Programming Language :: Python :: 3.12',
|
|
],
|
|
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,
|
|
)
|