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
|
import os
from setuptools import setup
def get_version():
v = "0.0.0"
with open('treetime/__init__.py') as ifile:
for line in ifile:
if line[:7]=='version':
v = line.split('=')[-1].strip()[1:-1]
break
return v
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name = "phylo-treetime",
version = get_version(),
author = "Pavel Sagulenko, Emma Hodcroft, and Richard Neher",
author_email = "richard.neher@unibas.ch",
description = ("Maximum-likelihood phylodynamic inference"),
long_description = long_description,
long_description_content_type="text/markdown",
license = "MIT",
keywords = "Time-stamped phylogenies, phylogeography, virus evolution",
url = "https://github.com/neherlab/treetime",
packages=['treetime'],
install_requires = [
'biopython>=1.66,<=1.76',
'numpy>=1.10.4',
'pandas>=0.17.1',
'scipy>=0.16.1'
],
extras_require = {
':python_version < "3.6"':['matplotlib>=2.0, ==2.*'],
':python_version >= "3.6"':['matplotlib>=2.0'],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8"
],
scripts=['bin/treetime']
)
|