Skip to content

Commit 82051ff

Browse files
committed
feat: AI review fixes
1 parent 17d2460 commit 82051ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docker/platerec_installer/platerec_installer.spec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ import sys
99

1010
block_cipher = None
1111

12-
print(f'SYS PLATFORM: {sys.platform}')
13-
1412
if sys.platform == 'win32':
1513
site_packages = 'C:/Python37/Lib/site-packages/'
1614
pathex = ['Z:\\src']
1715
elif sys.platform == 'linux':
1816
site_packages = '/root/.pyenv/versions/3.7.5/lib/python3.7/site-packages/'
1917
pathex = ['/src']
2018
else: # MacOs on GH Actions
21-
site_packages = '/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/'
19+
site_packages = __import__('sysconfig').get_path('purelib')
2220
pathex = [os.path.abspath(SPECPATH)]
2321

2422
a = Analysis( # noqa

0 commit comments

Comments
 (0)