-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (46 loc) · 1.54 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
import setuptools
from glob import glob
from setuptools import Command, Extension
import shlex
import subprocess
import os
import re
## get version from file
VERSIONFILE="./brainmaze/__init__.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setuptools.setup(
name="brainmaze",
version=verstr,
license='',
url="https://github.com/bnelair/brainmaze-utils",
author="Filip Mivalt",
author_email="mivalt.filip@mayo.edu",
description="BrainMaze: Brain Electrophysiology, Behavior and Dynamics Analysis Toolbox",
long_description="A toolbox for analyzing brain electrophysiology and behavior in long-term data",
long_description_content_type="",
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Development Status :: 3 - Alpha",
'Intended Audience :: Healthcare Industry',
'Intended Audience :: Science/Research',
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
"Operating System :: POSIX :: Linux",
'Topic :: Scientific/Engineering :: Medical Science Apps.'
],
python_requires='>=3.6',
install_requires =[
'numpy',
'scipy',
'pandas',
'scikit-learn',
]
)