forked from embodied-computation-group/systole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (34 loc) · 1.2 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
import os
import codecs
from setuptools import find_packages, setup
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))
REQUIREMENTS_FILE = os.path.join(PROJECT_ROOT, "requirements.txt")
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get_requirements():
with codecs.open(REQUIREMENTS_FILE) as buff:
return buff.read().splitlines()
DESCRIPTION = """Systole: A python package for cardiac signal synchrony and analysis"""
DISTNAME = "systole"
MAINTAINER = "Nicolas Legrand"
MAINTAINER_EMAIL = "[email protected]"
VERSION = "0.2.5dev0"
if __name__ == "__main__":
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
license="GPL-3.0",
version=VERSION,
install_requires=get_requirements(),
include_package_data=True,
packages=find_packages(),
entry_points = {
'console_scripts': ['systole=systole.reports.command_line:main'],
}
)