Skip to content

Commit c16fcee

Browse files
author
Nicolas Marc Simon Legrand
committed
setup file
1 parent f613bcd commit c16fcee

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

cardioception/setup.py

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright (C) 2019 Nicolas Legrand
2+
import os
3+
4+
5+
def read(fname):
6+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
7+
8+
9+
DESCRIPTION = "Cardioception Python Package"
10+
LONG_DESCRIPTION = """Measuring interoceptive performance with Psychopy.
11+
"""
12+
13+
DISTNAME = 'cardioception'
14+
MAINTAINER = 'Nicolas Legrand'
15+
MAINTAINER_EMAIL = 'nicolas.legrand@cfin.au.dk'
16+
VERSION = '0.0.1'
17+
18+
INSTALL_REQUIRES = [
19+
'numpy>=1.15',
20+
'scipy>=1.3',
21+
'pandas>=0.24',
22+
'matplotlib>=3.0.2',
23+
'seaborn>=0.9.0',
24+
'psychopy>=3.2.4'
25+
]
26+
27+
try:
28+
from setuptools import setup
29+
_has_setuptools = True
30+
except ImportError:
31+
from distutils.core import setup
32+
33+
if __name__ == "__main__":
34+
35+
setup(name=DISTNAME,
36+
author=MAINTAINER,
37+
author_email=MAINTAINER_EMAIL,
38+
maintainer=MAINTAINER,
39+
maintainer_email=MAINTAINER_EMAIL,
40+
description=DESCRIPTION,
41+
long_description=LONG_DESCRIPTION,
42+
license=read('LICENSE'),
43+
version=VERSION,
44+
install_requires=INSTALL_REQUIRES,
45+
include_package_data=True,
46+
)

0 commit comments

Comments
 (0)