Skip to content
Snippets Groups Projects
Commit ab72fc04 authored by Boman Romain's avatar Boman Romain
Browse files

add pyinstaller

parent a7873393
No related branches found
No related tags found
No related merge requests found
......@@ -9,3 +9,4 @@ __pycache__/
*.7z
*.rar
build/
dist/
\ No newline at end of file
File moved
# -*- mode: python ; coding: utf-8 -*-
# pyinstaller --noconfirm run.spec
# BUILD DIST:
# load environment
# pyinstaller --noconfirm fossils.spec
block_cipher = None
a = Analysis(
['run.py'],
['fossils.py'],
pathex=['cxxfem\\build\\bin\\Release'],
binaries=[
(r'C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.5.281\windows\redist\intel64_win\mkl\mkl_vml_avx512.dll', '.'),
......@@ -19,7 +21,7 @@ a = Analysis(
(r'C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.5.281\windows\redist\intel64_win\compiler\libiomp5md.dll', '.')
],
datas=[],
hiddenimports=['cxxfem','femi','gmsh','bonemodel'],
hiddenimports=['cxxfem','femi','gmsh','models.bonemodel2'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
......@@ -36,7 +38,7 @@ exe = EXE(
a.scripts,
[],
exclude_binaries=True,
name='run',
name='fossils',
debug=False,
bootloader_ignore_signals=False,
strip=False,
......@@ -56,5 +58,5 @@ coll = COLLECT(
strip=False,
upx=True,
upx_exclude=[],
name='run',
name='fossils',
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment