Creation of Binary with PyInstaller and Removal of Cx_Freeze

This commit is contained in:
2022-02-24 03:22:20 +00:00
parent 8cf9188c6d
commit f4e892cf34
3 changed files with 11 additions and 34 deletions

21
run.log
View File

@@ -2,10 +2,10 @@
############# Welcome to DICEPLAYER version 1.0 #############
##########################################################################################
Your python version is 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:57:06)
[GCC 9.4.0]
Your python version is 3.8.12 (default, Oct 12 2021, 13:58:32)
[GCC 7.5.0]
Program started on Monday, 21 Feb 2022 at 13:19:54
Program started on Tuesday, 22 Feb 2022 at 02:37:19
Environment variables:
OMP_STACKSIZE = Not set
@@ -167,18 +167,3 @@ Molecule type 2 - PLACEHOLDER:
Dipole moment = ( 1.9725 , 1.2491 , -0.0000 ) Total = 2.3347 Debye
==========================================================================================
Starting the iterative process.
------------------------------------------------------------------------------------------
Step # 1
------------------------------------------------------------------------------------------
Simulation process simfiles/step01/p01 initiated with pid 29435
p01> NVT thermalization finished (from random configuration) on 21 Feb 2022 at 13:19:54
Simulation process simfiles/step01/p02 initiated with pid 29436
p02> NVT thermalization finished (from random configuration) on 21 Feb 2022 at 13:19:54
Simulation process simfiles/step01/p03 initiated with pid 29437
p03> NVT thermalization finished (from random configuration) on 21 Feb 2022 at 13:19:54
Simulation process simfiles/step01/p04 initiated with pid 29438
p04> NVT thermalization finished (from random configuration) on 21 Feb 2022 at 13:19:54

View File

@@ -5,7 +5,7 @@
Your python version is 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:57:06)
[GCC 9.4.0]
Program started on Monday, 21 Feb 2022 at 13:19:18
Program started on Tuesday, 22 Feb 2022 at 02:04:46
Environment variables:
OMP_STACKSIZE = Not set

View File

@@ -1,17 +1,9 @@
import sys
from cx_Freeze import setup, Executable
import PyInstaller.__main__
# Dependencies are automatically detected, but it might need fine tuning.
# "packages": ["os"] is used as example only
build_exe_options = {"packages": ["os","setproctitle","nomkl","numpy"],
"bin_includes": ["/usr/bin/python3"],
"excludes": ["tkinter"],
"optimize": 0}
name = 'diceplayer'
name = "diceplayer"
setup(
name = name,
version = "0.1",
executables = [Executable("diceplayer/__main__.py", target_name=name)]
)
PyInstaller.__main__.run([
'diceplayer/__main__.py',
'--onefile',
'-n{}'.format(name)
])