pyinstaller: Add git-commit-id file
This commit is contained in:
parent
f24a721e55
commit
2f8ce31e1a
@ -1,5 +1,11 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
|
sys.path.insert(0, os.getcwd())
|
||||||
|
from scripts import setupcommon
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
@ -9,6 +15,7 @@ def get_data_files():
|
|||||||
('../qutebrowser/img', 'img'),
|
('../qutebrowser/img', 'img'),
|
||||||
('../qutebrowser/javascript', 'javascript'),
|
('../qutebrowser/javascript', 'javascript'),
|
||||||
('../qutebrowser/html/doc', 'html/doc'),
|
('../qutebrowser/html/doc', 'html/doc'),
|
||||||
|
('../qutebrowser/git-commit-id', '')
|
||||||
]
|
]
|
||||||
|
|
||||||
if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
|
if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
|
||||||
@ -19,6 +26,9 @@ def get_data_files():
|
|||||||
return data_files
|
return data_files
|
||||||
|
|
||||||
|
|
||||||
|
setupcommon.write_git_file()
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(['../qutebrowser.py'],
|
a = Analysis(['../qutebrowser.py'],
|
||||||
pathex=['misc'],
|
pathex=['misc'],
|
||||||
binaries=None,
|
binaries=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user