Skip to content

Commit

Permalink
Remove gource
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Aug 12, 2024
1 parent 3b93bc9 commit 5ecde26
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import struct
import sys

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

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

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

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

elif mode == 'gource':
os.system('gource -s 0.25 --title PyDetex --disable-auto-rotate --key '
'--highlight-users --disable-bloom --multi-sampling -w --transparent --path ./')

else:
raise ValueError(f'Unknown mode {mode}')

0 comments on commit 5ecde26

Please sign in to comment.