[9f3905]: / setup.py

Download this file

45 lines (38 with data), 1.0 kB

 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
#!/usr/bin/env python3
"""Metadata for package to allow installation with pip."""
import os
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
# Use same version from code
# See 3 from
# https://packaging.python.org/guides/single-sourcing-package-version/
version = {}
with open(os.path.join("echonet", "__version__.py")) as f:
exec(f.read(), version) # pylint: disable=W0122
setuptools.setup(
name="echonet",
description="Video-based AI for beat-to-beat cardiac function assessment.",
version=version["__version__"],
url="https://echonet.github.io/dynamic",
packages=setuptools.find_packages(),
install_requires=[
"click",
"numpy",
"pandas",
"torch",
"torchvision",
"opencv-python",
"scikit-image",
"tqdm",
"sklearn"
],
classifiers=[
"Programming Language :: Python :: 3",
],
entry_points={
"console_scripts": [
"echonet=echonet:main",
],
}
)