forked from embodied-computation-group/Cardioception
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (46 loc) · 1.33 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
# Copyright (C) 2020 Nicolas Legrand
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
DESCRIPTION = "Cardioception Python Package"
LONG_DESCRIPTION = """Measuring interoceptive performance with Psychopy.
"""
DISTNAME = "cardioception"
MAINTAINER = "Nicolas Legrand"
MAINTAINER_EMAIL = "[email protected]"
VERSION = "0.4.3"
INSTALL_REQUIRES = [
"systole>=0.2.2",
"psychopy>=2020.1.2",
]
PACKAGES = [
"cardioception",
"cardioception.HBC",
"cardioception.HRD",
"cardioception.notebooks",
]
try:
from setuptools import setup
_has_setuptools = True
except ImportError:
from distutils.core import setup
if __name__ == "__main__":
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
license=read("LICENSE"),
version=VERSION,
install_requires=INSTALL_REQUIRES,
include_package_data=True,
packages=PACKAGES,
package_data={
"cardioception.HBC": ["*.wav", "*.png"],
"cardioception.HRD": ["*.wav", "*.png"],
"cardioception.notebooks": ["*.ipynb", "*.npy", "*.txt"],
},
)