Exclude pdfjs from build packages for now

It only makes things bigger, and currently pdfjs doesn't work on QtWebEngine
anyways.
This commit is contained in:
Florian Bruhin 2017-05-17 11:42:58 +02:00
parent 9898d80625
commit c5957bc9d0
2 changed files with 5 additions and 5 deletions

View File

@ -18,10 +18,10 @@ def get_data_files():
('../qutebrowser/git-commit-id', '')
]
if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs'))
else:
print("Warning: excluding pdfjs as it's not present!")
# if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
# data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs'))
# else:
# print("Warning: excluding pdfjs as it's not present!")
return data_files

View File

@ -121,7 +121,7 @@ def main():
action='store_true')
args = parser.parse_args()
update_pdfjs(args.pdfjs)
# update_pdfjs(args.pdfjs)
update_ace()
if args.fancy_dmg:
update_dmg_makefile()