aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-28 19:59:40 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-28 19:59:40 +0530
commite28f1c0ae812293b2ebb5f052f8af2cfaede1248 (patch)
tree4b300721346f180b0fd36f4efa26582bb75994ec /setup.py
parentef39f8600a290f1176d13f11894ab35df47ec9d8 (diff)
downloadhypervideo-pre-e28f1c0ae812293b2ebb5f052f8af2cfaede1248.tar.lz
hypervideo-pre-e28f1c0ae812293b2ebb5f052f8af2cfaede1248.tar.xz
hypervideo-pre-e28f1c0ae812293b2ebb5f052f8af2cfaede1248.zip
[cleanup] Fix linter and some typos
* Also remove inconsistent use of `"` in setup.py
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py60
1 files changed, 30 insertions, 30 deletions
diff --git a/setup.py b/setup.py
index babdc45af..cebe556c9 100644
--- a/setup.py
+++ b/setup.py
@@ -18,13 +18,13 @@ DESCRIPTION = 'Command-line program to download videos from YouTube.com and many
LONG_DESCRIPTION = '\n\n'.join((
'Official repository: <https://github.com/yt-dlp/yt-dlp>',
'**PS**: Many links in this document will not work since this is a copy of the README.md from Github',
- open("README.md", "r", encoding="utf-8").read()))
+ open('README.md', 'r', encoding='utf-8').read()))
REQUIREMENTS = ['mutagen', 'pycryptodome']
if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
- print("inv")
+ print('inv')
else:
files_spec = [
('share/bash-completion/completions', ['completions/bash/yt-dlp']),
@@ -67,17 +67,17 @@ class build_lazy_extractors(Command):
)
-packages = find_packages(exclude=("youtube_dl", "test", "ytdlp_plugins"))
+packages = find_packages(exclude=('youtube_dl', 'test', 'ytdlp_plugins'))
setup(
- name="yt-dlp",
+ name='yt-dlp',
version=__version__,
- maintainer="pukkandan",
- maintainer_email="pukkandan.ytdlp@gmail.com",
+ maintainer='pukkandan',
+ maintainer_email='pukkandan.ytdlp@gmail.com',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
- long_description_content_type="text/markdown",
- url="https://github.com/yt-dlp/yt-dlp",
+ long_description_content_type='text/markdown',
+ url='https://github.com/yt-dlp/yt-dlp',
packages=packages,
install_requires=REQUIREMENTS,
project_urls={
@@ -87,28 +87,28 @@ setup(
#'Funding': 'https://donate.pypi.org',
},
classifiers=[
- "Topic :: Multimedia :: Video",
- "Development Status :: 5 - Production/Stable",
- "Environment :: Console",
- "Programming Language :: Python",
- "Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.6",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.2",
- "Programming Language :: Python :: 3.3",
- "Programming Language :: Python :: 3.4",
- "Programming Language :: Python :: 3.5",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: Implementation",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: IronPython",
- "Programming Language :: Python :: Implementation :: Jython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "License :: Public Domain",
- "Operating System :: OS Independent",
+ 'Topic :: Multimedia :: Video',
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Console',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: Implementation',
+ 'Programming Language :: Python :: Implementation :: CPython',
+ 'Programming Language :: Python :: Implementation :: IronPython',
+ 'Programming Language :: Python :: Implementation :: Jython',
+ 'Programming Language :: Python :: Implementation :: PyPy',
+ 'License :: Public Domain',
+ 'Operating System :: OS Independent',
],
python_requires='>=2.6',