-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (50 loc) · 1.53 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import glob
import re
# Auto-update ipyrad version from git repo tag
# Fetch version from git tags, and write to version.py.
# Also, when git is not available (PyPi package), use stored version.py.
INITFILE = "tetrad/__init__.py"
CUR_VERSION = (
re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]",
open(INITFILE, "r").read(),
re.M)
.group(1))
setup(
name="tetrad",
version=CUR_VERSION,
url="https://github.com/eaton-lab/tetrad",
author="Deren Eaton",
author_email="[email protected]",
description="Quartet inference using phylogenetic invariants",
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',
packages=find_packages(),
install_requires=[
"future",
"ipyparallel",
"scipy",
"numpy",
"numba",
"pandas",
"h5py",
"toytree",
# "mpi4py",
# "mkl",
],
entry_points={'console_scripts': ['tetrad = tetrad.__main__:main']},
data_files=[('bin', glob.glob("./bin/*"))],
license='GPLv3',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)