-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (34 loc) · 1.29 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
import sys
from setuptools import find_packages, setup
def main():
setup_requires = ["setuptools_scm"]
install_requires = ["numpy", "scipy", "click", "tabulate", "svgwrite"]
if sys.platform == "win32":
install_requires.append("colorama")
extras_require = {}
# extras_require['draw'] = ['svgwrite']
extras_require["tests"] = ["pytest", "pytest-sugar", "pytest-cov"]
setup(
name="Hammlet",
description="Hybridization Models Maximum Likelihood Estimator",
url="https://github.com/ctlab/hammlet",
author="Konstantin Chukharev",
author_email="[email protected]",
license="GNU GPLv3",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4",
package_dir={"": "src"},
packages=find_packages("src"),
use_scm_version={
"write_to": "src/hammlet/version.py",
"version_scheme": "post-release",
# 'local_scheme': lambda _: '',
"local_scheme": "dirty-tag",
},
install_requires=install_requires,
setup_requires=setup_requires,
extras_require=extras_require,
tests_require=extras_require["tests"],
entry_points={"console_scripts": ["hammlet = hammlet.cli:cli"]},
)
if __name__ == "__main__":
main()