-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
61 lines (57 loc) · 2.79 KB
/
setup.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# ##############################################################################
# GPLv3 LICENSE INFO #
# #
# Copyright (C) 2020 Mario S. Valdes-Tresanco and Mario E. Valdes-Tresanco #
# Copyright (C) 2014 Jason Swails, Bill Miller III, and Dwight McGee #
# #
# Project: https://github.com/Valdes-Tresanco-MS/gmx_MMPBSA #
# #
# This program is free software; you can redistribute it and/or modify it #
# under the terms of the GNU General Public License version 3 as published #
# by the Free Software Foundation. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License #
# for more details. #
# ##############################################################################
from setuptools import setup, find_packages
import versioneer
from pathlib import Path
import shutil
## check that AMDock files not exits in destiny
home = Path('~').expanduser()
pymol_conf = home.joinpath('.pymol')
pymol_startup = pymol_conf.joinpath('startup')
grid_amdock = pymol_startup.joinpath('grid_amdock.py')
if not pymol_conf.exists():
pymol_conf.mkdir()
pymol_startup.mkdir()
if not pymol_startup.exists():
pymol_startup.mkdir()
if not grid_amdock.exists():
shutil.copy('grid_amdock.py', grid_amdock)
with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()
setup(
name='AMDock',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=find_packages(),
package_data={"AMDock": ["data/*"]},
license='GPLv3',
author='Mario S. Valdes-Tresanco and Mario E. Valdes-Tresanco ',
author_email='[email protected]',
maintainer='Mario S. Valdes-Tresanco',
maintainer_email='[email protected]',
url='https://github.com/Valdes-Tresanco-MS/AMDock',
description="AMDock: Assisted Molecular Docking with Autodock4 and Autodock Vina",
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
keywords=['AMDock', 'AutoDock Vina', 'AutoDock4', 'AutoDock4Zn', 'Docking'],
install_requires=['PyQt5>=5.15.4'],
entry_points={
"gui_scripts": [
"AMDock=AMDock.Docking_Program:run"
]}
)