We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccf06fa commit 7affc5eCopy full SHA for 7affc5e
docker/platerec_installer/platerec_installer.spec
@@ -6,6 +6,7 @@
6
# docker run -v "$$(pwd):/src/" danleyb2/pyinstaller-windows "pyinstaller platerec_installer.spec -F"
7
8
import sys
9
+import site
10
11
block_cipher = None
12
@@ -16,8 +17,8 @@ elif sys.platform == 'linux':
16
17
site_packages = '/root/.pyenv/versions/3.7.5/lib/python3.7/site-packages/'
18
pathex = ['/src']
19
else: # MacOs on GH Actions
- site_packages = '/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/'
20
- pathex = [os.path.abspath(SPECPATH)]
+ site_packages = site.getsitepackages()[0]
21
+ pathex = [os.path.dirname(__file__)]
22
23
a = Analysis( # noqa
24
['platerec_installer.py'],
0 commit comments