forked from eaton-lab/toytree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (32 loc) · 915 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup, find_packages
import re
# get version from __init__.py
INITFILE = "toytree/__init__.py"
CUR_VERSION = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
open(INITFILE, "r").read(),
re.M).group(1)
# run setup
setup(
name="toytree",
version=CUR_VERSION,
url="https://github.com/eaton-lab/toytree",
author="Deren Eaton",
author_email="[email protected]",
description="minimalist tree plotting using toyplot",
long_description=open('README.md').read(),
long_description_content_type='text/x-rst',
packages=find_packages(),
install_requires=[
"toyplot",
"numpy",
"requests",
"future",
],
entry_points={},
license='GPL',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
)