]> Raphaƫl G. Git Repositories - youtubedl/blob - debian/patches/skip_support_file_installation.patch
debian/changelog: Annotate with another bug being closed.
[youtubedl] / debian / patches / skip_support_file_installation.patch
1 From: Carlos Maddela <e7appew@gmail.com>
2 Date: Tue, 1 Mar 2016 02:31:47 +1100
3 Subject: Don't install support files via setup.py
4
5 Description: Don't install support files via setup.py
6 for better control over where they should be installed.
7 Author: Carlos Maddela <e7appew@gmail.com>
8 Origin: vendor
9 Forwarded: not-needed
10 Last-Update: 2016-06-27
11 ---
12 setup.py | 7 +------
13 1 file changed, 1 insertion(+), 6 deletions(-)
14
15 diff --git a/setup.py b/setup.py
16 index 7dbb580..80599be 100644
17 --- a/setup.py
18 +++ b/setup.py
19 @@ -58,12 +58,7 @@ py2exe_params = {
20 if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
21 params = py2exe_params
22 else:
23 - files_spec = [
24 - ('etc/bash_completion.d', ['youtube-dl.bash-completion']),
25 - ('etc/fish/completions', ['youtube-dl.fish']),
26 - ('share/doc/youtube_dl', ['README.txt']),
27 - ('share/man/man1', ['youtube-dl.1'])
28 - ]
29 + files_spec = []
30 root = os.path.dirname(os.path.abspath(__file__))
31 data_files = []
32 for dirname, files in files_spec: