-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
43 lines (37 loc) · 1.14 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
from setuptools import setup, find_namespace_packages
def get_requirements(path):
with open(path) as f:
return list(filter(lambda s: len(s) > 0, (get_requirement(l) for l in f)))
def get_requirement(line):
r, *_ = line.split("#")
return r.strip().split()
setup(
name="ultratrace",
author="Jonathan Washington",
author_email="[email protected]",
version="0.9.1",
packages=find_namespace_packages(
#include=["ultratrace2.*"], exclude=["ultratrace.*"]
include=["ultratrace.*"], exclude=["ultratrace2.*"]
),
description="A tool for manually annotating ultrasound tongue imaging (UTI) data",
install_requires=get_requirements("requirements.txt"),
entry_points={
"console_scripts": [
"ultratrace = ultratrace.__main__:main"
]
},
extras_require={
"dev": [
"flake8",
"black",
"mypy",
"pytest",
"numpy-stubs @ git+https://github.com/numpy/numpy-stubs.git@master",
"pytest-cov",
"pytest-mock",
"boto3",
"mypy-boto3-s3",
]
},
)