아이콘추가
This commit is contained in:
parent
4393525400
commit
2fb46ec9c0
Binary file not shown.
|
After Width: | Height: | Size: 716 KiB |
|
|
@ -3,7 +3,7 @@
|
|||
import os
|
||||
|
||||
# 현재 .spec 파일의 디렉토리 경로를 가져옵니다.
|
||||
spec_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
spec_dir = os.path.dirname(os.path.abspath(__name__))
|
||||
|
||||
# 이 경로를 기준으로 다른 경로들을 지정
|
||||
#icon_path = os.path.join(spec_dir, 'icons', 'app_icon.ico')
|
||||
|
|
@ -18,14 +18,18 @@ a = Analysis(
|
|||
(os.path.join(spec_dir, 'Lib', 'site-packages', 'paddleocr'), 'paddleocr'),
|
||||
(os.path.join(spec_dir, 'models'), 'models'),
|
||||
(os.path.join(spec_dir, 'Lib', 'site-packages', 'paddle', 'libs', '*.dll'), 'paddle\\libs'),
|
||||
(os.path.join(spec_dir, 'config.ini'), '.')
|
||||
(os.path.join(spec_dir, 'NotoSansKR-Bold.ttf'), '.')
|
||||
(os.path.join(spec_dir, 'NotoSans.ttf'), '.')
|
||||
(os.path.join(spec_dir, 'NotoSansKR-ExtraBold.ttf'), '.')
|
||||
(os.path.join(spec_dir, 'NotoSansKR-Regular.ttf'), '.')
|
||||
(os.path.join(spec_dir, 'NotoSansKR-SemiBold.ttf'), '.')
|
||||
(os.path.join(spec_dir, 'simfang.ttf'), '.')
|
||||
(os.path.join(spec_dir, 'Percenty_SS_Code.json'), '.')
|
||||
(os.path.join(spec_dir, 'Lib', 'site-packages', 'selenium_stealth'), 'selenium_stealth'),
|
||||
(os.path.join(spec_dir, 'Lib', 'site-packages', 'fake_useragent'), 'fake_useragent'),
|
||||
(os.path.join(spec_dir, 'Lib', 'site-packages', 'playwright'), 'playwright'),
|
||||
(os.path.join(spec_dir, 'config.ini'), '.'),
|
||||
(os.path.join(spec_dir, 'Percenty_SS_Code.json'), '.'),
|
||||
(os.path.join(spec_dir, 'NotoSansKR-Bold.ttf'), '.'),
|
||||
(os.path.join(spec_dir, 'NotoSans.ttf'), '.'),
|
||||
(os.path.join(spec_dir, 'NotoSansKR-ExtraBold.ttf'), '.'),
|
||||
(os.path.join(spec_dir, 'NotoSansKR-Regular.ttf'), '.'),
|
||||
(os.path.join(spec_dir, 'NotoSansKR-SemiBold.ttf'), '.'),
|
||||
(os.path.join(spec_dir, 'simfang.ttf'), '.'),
|
||||
|
||||
],
|
||||
hiddenimports=[
|
||||
'shapely', 'pyclipper', 'imghdr', 'skimage', 'skimage.morphology._skeletonize', 'imgaug', 'scipy.io', 'lmdb', 'tqdm', 'paddlepaddle.core'
|
||||
|
|
@ -46,17 +50,19 @@ exe = EXE(
|
|||
a.datas,
|
||||
[],
|
||||
name='AutoPercenty',
|
||||
debug=False,
|
||||
debug=True,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=False,
|
||||
onefile=True,
|
||||
onefile=False,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
icon='AutoPercenty.ico',
|
||||
|
||||
)
|
||||
|
|
|
|||
2
build.py
2
build.py
|
|
@ -17,4 +17,4 @@ for folder in folders_to_delete:
|
|||
|
||||
# 디버깅용 : main.spec
|
||||
# 배포용 : AutoPercenty.spec
|
||||
call(['pyinstaller', 'main.spec'])
|
||||
call(['pyinstaller', 'AutoPercenty.spec'])
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 3a5324373ba52c68c79587ca183bc10b9e57b783
|
||||
Loading…
Reference in New Issue