|
a |
|
b/setup.py |
|
|
1 |
#!/usr/bin/env python3 |
|
|
2 |
"""Metadata for package to allow installation with pip.""" |
|
|
3 |
|
|
|
4 |
import os |
|
|
5 |
|
|
|
6 |
import setuptools |
|
|
7 |
|
|
|
8 |
with open("README.md", "r") as fh: |
|
|
9 |
long_description = fh.read() |
|
|
10 |
|
|
|
11 |
# Use same version from code |
|
|
12 |
# See 3 from |
|
|
13 |
# https://packaging.python.org/guides/single-sourcing-package-version/ |
|
|
14 |
version = {} |
|
|
15 |
with open(os.path.join("echonet", "__version__.py")) as f: |
|
|
16 |
exec(f.read(), version) # pylint: disable=W0122 |
|
|
17 |
|
|
|
18 |
setuptools.setup( |
|
|
19 |
name="echonet", |
|
|
20 |
description="Video-based AI for beat-to-beat cardiac function assessment.", |
|
|
21 |
version=version["__version__"], |
|
|
22 |
url="https://echonet.github.io/dynamic", |
|
|
23 |
packages=setuptools.find_packages(), |
|
|
24 |
install_requires=[ |
|
|
25 |
"click", |
|
|
26 |
"numpy", |
|
|
27 |
"pandas", |
|
|
28 |
"torch", |
|
|
29 |
"torchvision", |
|
|
30 |
"opencv-python", |
|
|
31 |
"scikit-image", |
|
|
32 |
"tqdm", |
|
|
33 |
"sklearn" |
|
|
34 |
], |
|
|
35 |
classifiers=[ |
|
|
36 |
"Programming Language :: Python :: 3", |
|
|
37 |
], |
|
|
38 |
entry_points={ |
|
|
39 |
"console_scripts": [ |
|
|
40 |
"echonet=echonet:main", |
|
|
41 |
], |
|
|
42 |
} |
|
|
43 |
|
|
|
44 |
) |