-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
67 lines (54 loc) · 2.12 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
62
63
64
65
66
67
from setuptools import setup, find_packages
import os
import sys
from io import open
name = 'pyham'
requirements = ['ete3 >= 3.1', 'six', 'lxml', 'future', 'requests', 'tqdm']
if sys.version_info > (3, 3):
# ete3 uses some py3 incompatible types if scipy is not present
requirements.extend(['scipy'])
if sys.version_info < (3, 5):
requirements.extend(['numpy'])
__version__ = "Undefined"
for line in open('{}/__init__.py'.format(name.lower())):
if line.startswith('__version__'):
exec(line.strip())
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=name,
version=__version__,
author='Dessimoz Lab - Laboratory of Computational Evolutionary Biology and Genomics',
author_email='[email protected]',
description='A tool to analyse Hierarchical Orthologous Groups (HOGs)',
long_description=long_description,
keywords=['orthology, HOGs, orthoxml'],
url='http://lab.dessimoz.org/ham',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'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',
],
packages=find_packages(exclude=[]),
install_requires=requirements,
extras_require={
'test': ['nose'],
'dev': ['nose', 'sphinx', 'wheel', 'twine', 'fabric', 'fabric3'],
}
)