-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
executable file
·38 lines (33 loc) · 1.07 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
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from setuptools import setup
from setup_helper import SetupHelper
from glob import glob
name = 'treecut'
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Topic :: Scientific/Engineering :: Bio-Informatics',
]
with open('requirements.txt') as f:
required = f.read().splitlines()
# Use the helper
h = SetupHelper(initfile="treecut/__init__.py", readmefile="README.md")
h.check_version(name, majorv=2, minorv=7)
setup(
name=name,
version=h.version,
author=h.author,
author_email=h.email,
license=h.license,
long_description=h.long_description,
packages=[name],
scripts=glob('scripts/*.py') + ["treecut.py"],
classifiers=classifiers,
url='http://github.com/tanghaibao/treecut',
description="Find nodes in hierarchical clustering that are statistically significant",
install_requires=required + ["ete2"],
)