Skip to content

Commit 5ecde26

Browse files
committed
Remove gource
1 parent 3b93bc9 commit 5ecde26

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: build.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import struct
1111
import sys
1212

13-
assert len(sys.argv) == 2, 'Argument is required, usage: build.py pyinstaller/pip/twine/gource'
13+
assert len(sys.argv) == 2, 'Argument is required, usage: build.py pyinstaller/pip/twine'
1414
mode = sys.argv[1].strip()
1515
sys_arch = struct.calcsize('P') * 8
1616

@@ -21,7 +21,6 @@
2121
upx = '--upx-dir specs'
2222
pyinstaller = f'python -m PyInstaller' if sys.platform == 'win32' else 'pyinstaller'
2323

24-
# os.system(f'{pyinstaller} specs/PyDetex_Win.spec --noconfirm {upx}')
2524
os.system(f'{pyinstaller} specs/PyDetex_Win_Single.spec --noconfirm {upx}')
2625
os.system(f'{pyinstaller} specs/PyDetex_macOS.spec --noconfirm')
2726

@@ -46,9 +45,5 @@
4645
else:
4746
raise FileNotFoundError('Not distribution been found, execute build.py pip')
4847

49-
elif mode == 'gource':
50-
os.system('gource -s 0.25 --title PyDetex --disable-auto-rotate --key '
51-
'--highlight-users --disable-bloom --multi-sampling -w --transparent --path ./')
52-
5348
else:
5449
raise ValueError(f'Unknown mode {mode}')

0 commit comments

Comments
 (0)