-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
64 lines (59 loc) · 1.86 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
from setuptools import setup
import os
from clu.phontools.info import info
# use requirements.txt as deps list
with open("requirements.txt", "r") as f:
required = f.read().splitlines()
# get readme
with open("README.md", "r") as f:
readme = f.read()
test_deps = required + ["green>=2.5.0", "coverage", "mypy"]
# NOTE: <packagename> @ allows installation of git-based URLs
dev_deps = test_deps + [
"black",
"wheel",
"mkdocs==1.2.1",
# "portray @ git+git://github.com/myedibleenso/portray.git@issue/83",
# "portray @ git+git://github.com/myedibleenso/portray.git@avoid-regressions",
# "mkapi==1.0.14",
"pdoc3==0.9.2",
"mkdocs-git-snippet==0.1.1",
"mkdocs-git-revision-date-localized-plugin==0.9.2",
"mkdocs-git-authors-plugin==0.3.3",
"mkdocs-rtd-dropdown==1.0.2",
"pre-commit==2.13.0",
]
setup(
name="clu-phontools",
packages=["clu.phontools"],
version=info.version,
keywords=["nlp", "re-aline", "sequence alignment"],
description=info.description,
long_description=readme,
url=info.repo,
download_url=info.download_url,
author=" and ".join(info.authors),
author_email=info.contact,
license=info.license,
# see https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html
scripts=[
os.path.join("bin", "clu-phontools-rest-api"),
os.path.join("bin", "re-aline-excel-data"),
],
install_requires=required,
classifiers=[
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
],
tests_require=test_deps,
extras_require={
"test": test_deps,
# "dev": dev_deps,
"all": dev_deps
# 'docs': docs_deps
},
include_package_data=True,
zip_safe=False,
)