aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorhseg <gesh@gesh.uni.cx>2021-03-02 22:47:44 +0200
committerGitHub <noreply@github.com>2021-03-03 02:17:44 +0530
commitda7f321e9338624375eab758d822445d2846e771 (patch)
treeb273e82a45fdab9bf6a5d5f623da637e0a4e44c5 /setup.py
parent097b056c5a4f0374595798db0c663b9282acdf01 (diff)
downloadhypervideo-pre-da7f321e9338624375eab758d822445d2846e771.tar.lz
hypervideo-pre-da7f321e9338624375eab758d822445d2846e771.tar.xz
hypervideo-pre-da7f321e9338624375eab758d822445d2846e771.zip
Fix packaging bugs (#129)
* Autogenerate `AUTHORS` * Fix `setup.py` using wrong completion files * Complete `ChangeLog` -> `Changelog.md` rename * Make `make tar` respect DESTDIR * Remove `bin/` `yt-dlp` and `docs/` from tar and sdist * Make `pypi-files` build all files needed for `python setup.py` * Add `completions` alias * Add `devscripts/` and `supportedsites.md` to pip sdist * Remove `man` target * Remove `README.txt` from sdist * Make `clean` more granular * Move aliases to top Authored by: hseg <gesh@gesh.uni.cx>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 20dbe573c..babdc45af 100644
--- a/setup.py
+++ b/setup.py
@@ -27,9 +27,9 @@ if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
print("inv")
else:
files_spec = [
- ('share/bash-completion/completions', ['completions/bash/*']),
- ('share/zsh/site-functions', ['completions/zsh/*']),
- ('share/fish/vendor_completions.d', ['completions/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'])
]
@@ -39,7 +39,7 @@ else:
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))