]> jfr.im git - yt-dlp.git/blobdiff - setup.py
[version] update
[yt-dlp.git] / setup.py
index e5c9fec4c0bbc7bfa34f1818e805a9b7ded03b87..babdc45afca062fcbb5756e2362e8158f952f1e2 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -27,8 +27,9 @@
     print("inv")
 else:
     files_spec = [
-        ('etc/bash_completion.d', ['yt-dlp.bash-completion']),
-        ('etc/fish/completions', ['yt-dlp.fish']),
+        ('share/bash-completion/completions', ['completions/bash/yt-dlp']),
+        ('share/zsh/site-functions', ['completions/zsh/_yt-dlp']),
+        ('share/fish/vendor_completions.d', ['completions/fish/yt-dlp.fish']),
         ('share/doc/yt_dlp', ['README.txt']),
         ('share/man/man1', ['yt-dlp.1'])
     ]
@@ -38,7 +39,7 @@
         resfiles = []
         for fn in files:
             if not os.path.exists(fn):
-                warnings.warn('Skipping file %s since it is not present. Type  make  to build all automatically generated files.' % fn)
+                warnings.warn('Skipping file %s since it is not present. Try running `make pypi-files` first.' % fn)
             else:
                 resfiles.append(fn)
         data_files.append((dirname, resfiles))
@@ -86,7 +87,7 @@ def run(self):
         #'Funding': 'https://donate.pypi.org',
     },
     classifiers=[
-           "Topic :: Multimedia :: Video",
+        "Topic :: Multimedia :: Video",
         "Development Status :: 5 - Production/Stable",
         "Environment :: Console",
         "Programming Language :: Python",
@@ -110,7 +111,7 @@ def run(self):
         "Operating System :: OS Independent",
     ],
     python_requires='>=2.6',
-       
-       cmdclass={'build_lazy_extractors': build_lazy_extractors},
+
+    cmdclass={'build_lazy_extractors': build_lazy_extractors},
     **params
 )