<reponame>lmdu/dockey
import sys
import apsw
import pymol
import psutil
import openbabel
from PySide6.QtCore import __version__ as pyside_version
from plip.basic.config import __version__ as plip_version

__all__ = ['DOCKEY_VERSION', 'DOCKEY_BUILD', 'DOCKEY_ABOUT']

DOCKEY_VERSION = "0.3.0"

DOCKEY_BUILD = "220525"

DOCKEY_ABOUT = """
<p>Dockey - Molecular Docking and Virtual Screening</p>
<p><b>Version</b> v{version} <b>Build</b> {build}</p>
<p>Dockey is a morden tool for molecular docking</p>
<p><b>Acknowledgements:</b></p>
<table cellpadding="0" cellspacing="5">
	<tr>
		<td>Python</td>
		<td>v{python}</td>
		<td>
			<a href="https://www.python.org/">
				https://www.python.org
			</a>
		</td>
	</tr>
	<tr>
		<td>APSW</td>
		<td>v{apsw}</td>
		<td>
			<a href="https://github.com/rogerbinns/apsw/">
				https://github.com/rogerbinns/apsw
			</a>
		</td>
	</tr>
	<tr>
		<td>PySide</td>
		<td>v{pyside}</td>
		<td>
			<a href="https://doc.qt.io/qtforpython/">
				https://doc.qt.io/qtforpython
			</a>
		</td>
	</tr>
	<tr>
		<td>Pymol</td>
		<td>v{pymol}</td>
		<td>
			<a href="https://pymol.org">
				https://pymol.org
			</a>
		</td>
	</tr>
	<tr>
		<td>OpenBabel</td>
		<td>v{babel}</td>
		<td>
			<a href="http://openbabel.org">
				http://openbabel.org
			</a>
		</td>
	</tr>
	<tr>
		<td>Plip</td>
		<td>v{plip}</td>
		<td>
			<a href="https://github.com/pharmai/plip">
				https://github.com/pharmai/plip
			</a>
		</td>
	</tr>
	<tr>
		<td>Psutil</td>
		<td>v{psutil}</td>
		<td>
			<a href="https://github.com/giampaolo/psutil">
				https://github.com/giampaolo/psutil
			</a>
		</td>
	</tr>
	<tr>
		<td>Icons</td>
		<td>v{icon}</td>
		<td>
			<a href="https://icons.getbootstrap.com/">
				https://icons.getbootstrap.com
			</a>
		</td>
	</tr>
</table>
<p><b>Requirements:</b></p>
<table cellpadding="0" cellspacing="5">
	<tr>
		<td>AutoDock</td>
		<td>v4.2.6</td>
		<td>
			<a href="https://autodock.scripps.edu/">
				https://autodock.scripps.edu
			</a>
		</td>
	</tr>
	<tr>
		<td>Vina</td>
		<td>v1.2.3</td>
		<td>
			<a href="https://github.com/ccsb-scripps/AutoDock-Vina/">
				https://github.com/ccsb-scripps/AutoDock-Vina
			</a>
		</td>
	</tr>
</table>
""".format(
	version = DOCKEY_VERSION,
	build = DOCKEY_BUILD,
	python = sys.version.split()[0],
	apsw = apsw.apswversion(),
	pyside = pyside_version,
	pymol = pymol.cmd.get_version()[0],
	babel = openbabel.__version__,
	plip = plip_version,
	psutil = psutil.__version__,
	icon = '1.7.0'
)

import sys
import apsw
import pymol
import psutil
import openbabel
from PySide6.QtCore import __version__ as pyside_version
from plip.basic.config import __version__ as plip_version

__all__ = ['DOCKEY_VERSION', 'DOCKEY_BUILD', 'DOCKEY_ABOUT']

DOCKEY_VERSION = "0.3.0"

DOCKEY_BUILD = "220525"

DOCKEY_ABOUT = """
<p>Dockey - Molecular Docking and Virtual Screening</p>
<p><b>Version</b> v{version} <b>Build</b> {build}</p>
<p>Dockey is a morden tool for molecular docking</p>
<p><b>Acknowledgements:</b></p>
<table cellpadding="0" cellspacing="5">
	<tr>
		<td>Python</td>
		<td>v{python}</td>
		<td>
			<a href="https://www.python.org/">
				https://www.python.org
			</a>
		</td>
	</tr>
	<tr>
		<td>APSW</td>
		<td>v{apsw}</td>
		<td>
			<a href="https://github.com/rogerbinns/apsw/">
				https://github.com/rogerbinns/apsw
			</a>
		</td>
	</tr>
	<tr>
		<td>PySide</td>
		<td>v{pyside}</td>
		<td>
			<a href="https://doc.qt.io/qtforpython/">
				https://doc.qt.io/qtforpython
			</a>
		</td>
	</tr>
	<tr>
		<td>Pymol</td>
		<td>v{pymol}</td>
		<td>
			<a href="https://pymol.org">
				https://pymol.org
			</a>
		</td>
	</tr>
	<tr>
		<td>OpenBabel</td>
		<td>v{babel}</td>
		<td>
			<a href="http://openbabel.org">
				http://openbabel.org
			</a>
		</td>
	</tr>
	<tr>
		<td>Plip</td>
		<td>v{plip}</td>
		<td>
			<a href="https://github.com/pharmai/plip">
				https://github.com/pharmai/plip
			</a>
		</td>
	</tr>
	<tr>
		<td>Psutil</td>
		<td>v{psutil}</td>
		<td>
			<a href="https://github.com/giampaolo/psutil">
				https://github.com/giampaolo/psutil
			</a>
		</td>
	</tr>
	<tr>
		<td>Icons</td>
		<td>v{icon}</td>
		<td>
			<a href="https://icons.getbootstrap.com/">
				https://icons.getbootstrap.com
			</a>
		</td>
	</tr>
</table>
<p><b>Requirements:</b></p>
<table cellpadding="0" cellspacing="5">
	<tr>
		<td>AutoDock</td>
		<td>v4.2.6</td>
		<td>
			<a href="https://autodock.scripps.edu/">
				https://autodock.scripps.edu
			</a>
		</td>
	</tr>
	<tr>
		<td>Vina</td>
		<td>v1.2.3</td>
		<td>
			<a href="https://github.com/ccsb-scripps/AutoDock-Vina/">
				https://github.com/ccsb-scripps/AutoDock-Vina
			</a>
		</td>
	</tr>
</table>
""".format(
	version = DOCKEY_VERSION,
	build = DOCKEY_BUILD,
	python = sys.version.split()[0],
	apsw = apsw.apswversion(),
	pyside = pyside_version,
	pymol = pymol.cmd.get_version()[0],
	babel = openbabel.__version__,
	plip = plip_version,
	psutil = psutil.__version__,
	icon = '1.7.0'
)
<p>Dockey - Molecular Docking and Virtual Screening</p> <p><b>Version</b> v{version} <b>Build</b> {build}</p> <p>Dockey is a morden tool for molecular docking</p> <p><b>Acknowledgements:</b></p> <table cellpadding="0" cellspacing="5"> 	<tr> 		<td>Python</td> 		<td>v{python}</td> 		<td> 			<a href="https://www.python.org/"> 				https://www.python.org 			</a> 		</td> 	</tr> 	<tr> 		<td>APSW</td> 		<td>v{apsw}</td> 		<td> 			<a href="https://github.com/rogerbinns/apsw/"> 				https://github.com/rogerbinns/apsw 			</a> 		</td> 	</tr> 	<tr> 		<td>PySide</td> 		<td>v{pyside}</td> 		<td> 			<a href="https://doc.qt.io/qtforpython/"> 				https://doc.qt.io/qtforpython 			</a> 		</td> 	</tr> 	<tr> 		<td>Pymol</td> 		<td>v{pymol}</td> 		<td> 			<a href="https://pymol.org"> 				https://pymol.org 			</a> 		</td> 	</tr> 	<tr> 		<td>OpenBabel</td> 		<td>v{babel}</td> 		<td> 			<a href="http://openbabel.org"> 				http://openbabel.org 			</a> 		</td> 	</tr> 	<tr> 		<td>Plip</td> 		<td>v{plip}</td> 		<td> 			<a href="https://github.com/pharmai/plip"> 				https://github.com/pharmai/plip 			</a> 		</td> 	</tr> 	<tr> 		<td>Psutil</td> 		<td>v{psutil}</td> 		<td> 			<a href="https://github.com/giampaolo/psutil"> 				https://github.com/giampaolo/psutil 			</a> 		</td> 	</tr> 	<tr> 		<td>Icons</td> 		<td>v{icon}</td> 		<td> 			<a href="https://icons.getbootstrap.com/"> 				https://icons.getbootstrap.com 			</a> 		</td> 	</tr> </table> <p><b>Requirements:</b></p> <table cellpadding="0" cellspacing="5"> 	<tr> 		<td>AutoDock</td> 		<td>v4.2.6</td> 		<td> 			<a href="https://autodock.scripps.edu/"> 				https://autodock.scripps.edu 			</a> 		</td> 	</tr> 	<tr> 		<td>Vina</td> 		<td>v1.2.3</td> 		<td> 			<a href="https://github.com/ccsb-scripps/AutoDock-Vina/"> 				https://github.com/ccsb-scripps/AutoDock-Vina 			</a> 		</td> 	</tr> </table>