Skip to content

Commit 3c16600

Browse files
committed
Include sqlalchemy's baked in mac/windows specs as well
1 parent d0921ba commit 3c16600

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

dist_assets/mac/pyfa.spec

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ added_files = [
2929

3030

3131
import_these = [
32-
'numpy.core._dtype_ctypes' # https://github.com/pyinstaller/pyinstaller/issues/3982
32+
'numpy.core._dtype_ctypes', # https://github.com/pyinstaller/pyinstaller/issues/3982
33+
'sqlalchemy.ext.baked' # windows build doesn't launch without if when using sqlalchemy 1.3.x
3334
]
3435

3536
icon = os.path.join(os.getcwd(), "dist_assets", "mac", "pyfa.icns")
@@ -86,4 +87,4 @@ app = BUNDLE(
8687
'CFBundleDisplayName': 'pyfa',
8788
'CFBundleIdentifier': 'org.pyfaorg.pyfa',
8889
}
89-
)
90+
)

dist_assets/win/pyfa.spec

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ added_files = [
1717
('../../imgs/gui/*.gif', 'imgs/gui'),
1818
('../../imgs/icons/*.png', 'imgs/icons'),
1919
('../../imgs/renders/*.png', 'imgs/renders'),
20-
('../../service/jargon/*.yaml', 'service/jargon'),
20+
('../../service/jargon/*.yaml', 'service/jargon'),
2121
('../../dist_assets/win/pyfa.ico', '.'),
2222
('../../dist_assets/win/pyfa.exe.manifest', '.'),
2323
('../../dist_assets/win/Microsoft.VC90.CRT.manifest', '.'),
@@ -29,7 +29,8 @@ added_files = [
2929
]
3030

3131
import_these = [
32-
'numpy.core._dtype_ctypes' # https://github.com/pyinstaller/pyinstaller/issues/3982
32+
'numpy.core._dtype_ctypes', # https://github.com/pyinstaller/pyinstaller/issues/3982
33+
'sqlalchemy.ext.baked' # windows build doesn't launch without if when using sqlalchemy 1.3.x
3334
]
3435

3536
# Walk directories that do dynamic importing

0 commit comments

Comments
 (0)