forked from wlsong/PyLipID
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (57 loc) · 1.83 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
# setup.py
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / 'README.rst').read_text(encoding='utf-8')
# read version info
import re
VERSIONFILE="pylipid/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
# setup
setup(
name='pylipid',
version=verstr,
description='PyLipID - A Python Library For Lipid Interaction Analysis',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/wlsong/PyLipID',
author='Wanling Song',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.9',
],
keywords='simulation tools, network community, binding site',
python_requires='>=3.6, <4, !=3.8.*',
packages=find_packages(),
install_requires=[
"mdtraj",
"numpy",
"pandas",
"matplotlib>=3.3.3",
"networkx",
"scipy",
"python-louvain",
"logomaker",
"statsmodels",
"scikit-learn",
"tqdm",
"p_tqdm",
"kneebow"
]
)