aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorhseg <gesh@gesh.uni.cx>2021-02-25 16:49:57 +0200
committerhseg <gesh@gesh.uni.cx>2021-02-25 16:49:57 +0200
commit359d6d86508d7b32bf50e9b1936aaf6b9478ad19 (patch)
tree3da7a12653d4041edb92fe49f651dd2d287431d3 /setup.py
parent0e0040519bf5554dabfcb1a3be106d94f18379cc (diff)
downloadhypervideo-pre-359d6d86508d7b32bf50e9b1936aaf6b9478ad19.tar.lz
hypervideo-pre-359d6d86508d7b32bf50e9b1936aaf6b9478ad19.tar.xz
hypervideo-pre-359d6d86508d7b32bf50e9b1936aaf6b9478ad19.zip
Fix completion paths, zsh pip completion install
Closes: #108, #110
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index e5c9fec4c..20dbe573c 100644
--- a/setup.py
+++ b/setup.py
@@ -27,8 +27,9 @@ if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
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/*']),
+ ('share/zsh/site-functions', ['completions/zsh/*']),
+ ('share/fish/vendor_completions.d', ['completions/fish/*']),
('share/doc/yt_dlp', ['README.txt']),
('share/man/man1', ['yt-dlp.1'])
]
@@ -86,7 +87,7 @@ setup(
#'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 @@ setup(
"Operating System :: OS Independent",
],
python_requires='>=2.6',
-
- cmdclass={'build_lazy_extractors': build_lazy_extractors},
+
+ cmdclass={'build_lazy_extractors': build_lazy_extractors},
**params
)