mirror of
https://github.com/neosubhamoy/pytubepp.git
synced 2025-12-19 23:59:36 +05:30
(refactor): switched to modern pyproject.toml build format from setup.py
This commit is contained in:
60
pyproject.toml
Normal file
60
pyproject.toml
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=67.4.0"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "pytubepp"
|
||||||
|
version = "1.1.0"
|
||||||
|
authors = [
|
||||||
|
{ name="Subhamoy Biswas", email="hey@neosubhamoy.com" },
|
||||||
|
]
|
||||||
|
description = "A Simple CLI Tool to Download Your Favorite YouTube Videos Effortlessly!"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.8"
|
||||||
|
license = {text = "MIT"}
|
||||||
|
keywords = ["youtube", "download", "video", "pytube", "cli"]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"Environment :: Console",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Natural Language :: English",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
|
"Programming Language :: Python",
|
||||||
|
"Topic :: Internet",
|
||||||
|
"Topic :: Multimedia :: Video",
|
||||||
|
"Topic :: Multimedia :: Sound/Audio :: Conversion",
|
||||||
|
"Topic :: Multimedia :: Video :: Conversion",
|
||||||
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
|
"Topic :: Terminals",
|
||||||
|
"Topic :: Utilities",
|
||||||
|
]
|
||||||
|
dependencies = [
|
||||||
|
"pytubefix",
|
||||||
|
"requests",
|
||||||
|
"ffmpy",
|
||||||
|
"mutagen",
|
||||||
|
"tabulate",
|
||||||
|
"tqdm",
|
||||||
|
"appdirs",
|
||||||
|
"setuptools",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
pytubepp = "pytubepp.main:main"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
"Homepage" = "https://github.com/neosubhamoy/pytubepp"
|
||||||
|
"Bug Reports" = "https://github.com/neosubhamoy/pytubepp/issues"
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
include = ["pytubepp*"]
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
license-files = ["LICENSE"]
|
||||||
@@ -7,4 +7,5 @@ tqdm
|
|||||||
appdirs
|
appdirs
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
wheel
|
||||||
twine
|
twine
|
||||||
|
build
|
||||||
60
setup.py
60
setup.py
@@ -1,60 +0,0 @@
|
|||||||
from setuptools import setup, find_packages
|
|
||||||
|
|
||||||
with open('README.md', 'r', encoding='utf8') as file:
|
|
||||||
readme = file.read()
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name='pytubepp',
|
|
||||||
version='1.1.0',
|
|
||||||
description='A Simple CLI Tool to Download Your Favorite YouTube Videos Effortlessly!',
|
|
||||||
long_description=readme,
|
|
||||||
long_description_content_type='text/markdown',
|
|
||||||
author='Subhamoy Biswas',
|
|
||||||
author_email='hey@neosubhamoy.com',
|
|
||||||
license='MIT',
|
|
||||||
packages=find_packages(),
|
|
||||||
python_requires=">=3.8",
|
|
||||||
url="https://github.com/neosubhamoy/pytubepp",
|
|
||||||
entry_points={
|
|
||||||
'console_scripts': [
|
|
||||||
'pytubepp=pytubepp.main:main',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
install_requires=[
|
|
||||||
'pytubefix',
|
|
||||||
'requests',
|
|
||||||
'ffmpy',
|
|
||||||
'mutagen',
|
|
||||||
'tabulate',
|
|
||||||
'tqdm',
|
|
||||||
'appdirs',
|
|
||||||
'setuptools',
|
|
||||||
],
|
|
||||||
classifiers=[
|
|
||||||
"Development Status :: 5 - Production/Stable",
|
|
||||||
"Environment :: Console",
|
|
||||||
"Intended Audience :: Developers",
|
|
||||||
"License :: OSI Approved :: MIT License",
|
|
||||||
"Natural Language :: English",
|
|
||||||
"Operating System :: OS Independent",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
|
||||||
"Programming Language :: Python :: 3.12",
|
|
||||||
"Programming Language :: Python :: 3.13",
|
|
||||||
"Programming Language :: Python",
|
|
||||||
"Topic :: Internet",
|
|
||||||
"Topic :: Multimedia :: Video",
|
|
||||||
"Topic :: Multimedia :: Sound/Audio :: Conversion",
|
|
||||||
"Topic :: Multimedia :: Video :: Conversion",
|
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
||||||
"Topic :: Terminals",
|
|
||||||
"Topic :: Utilities",
|
|
||||||
],
|
|
||||||
keywords=["youtube", "download", "video", "pytube", "cli"],
|
|
||||||
project_urls={
|
|
||||||
"Bug Reports": "https://github.com/neosubhamoy/pytubepp/issues",
|
|
||||||
},
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user