-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup_exe.py
42 lines (36 loc) · 1.45 KB
/
setup_exe.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"""
# --------------------------------------------------> INFORMATIONS < --------------------------------------------------#
---> DEVELOPED BY: HALİL İBRAHİM ÖZDEMİR
---> PROJECT MADE WITH: PySide2
---> VERSION: 0.1
# --------------------------------------------------> INFORMATIONS < --------------------------------------------------#
"""
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == "win32":
base = "Win32GUI"
# dependencies
build_exe_options = {
"packages": ["os", "sys", "re", "PySide2.QtCore", "PySide2.QtWidgets", "PySide2.QtUiTools", "PySide2.QtQuick",
"PySide2.QtQml", "PySide2.QtGui", "matplotlib", "pandas", "pyqtgraph", "OpenGL", "pymol", "numpy",
"networkx", "prody", "pystache", "shiboken2", "pdbfixer", "pyqtgraph", "openmm",
"mdtraj", "parmed", "pyvis", "OpenGL"],
"include_files": ['LICENSE', 'fonts/', 'test/', 'gui/', 'src/', 'analysis/', 'Download/', 'no_gui/'],
"excludes": ["tkinter", "PyQt5"],
"build_exe": "build"
}
target = [
Executable("ui_main.py",
base=base,
target_name="MDPerTool.exe",
icon="gui/icons/big_icons/style_icon_48x48.png"
)
]
setup(name="MDPerTool_GUI",
version="0.1",
description="Perturbation based Allosteric Pathway Finder",
options={"build_exe": build_exe_options},
executables=target,
author="H. Ibrahim Ozdemir",
)