-
Notifications
You must be signed in to change notification settings - Fork 73
/
setup.py
36 lines (32 loc) · 975 Bytes
/
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
"""Setup file for PyRCCA"""
from setuptools import setup, find_packages
from pathlib import Path
import re
readme_path = Path(__file__).parent / 'README.md'
with open(readme_path, encoding='utf-8') as f:
long_description = f.read()
# get version from rcca/__init__.py
__version__ = 0.0
with open('rcca/__init__.py') as f:
infos = f.readlines()
for line in infos:
if "__version__" in line:
match = re.search(r"__version__ = '([^']*)'", line)
__version__ = match.groups()[0]
setup(
name='pyrcca',
version=__version__,
author='Bilenko et al',
packages=find_packages(),
url='https://github.com/gallantlab/pyrcca',
license='Free for non-commercial use',
description='Regularized kernel canonical correlation analysis in Python.',
long_description_content_type='text/markdown',
long_description=long_description,
install_requires=[
'h5py',
'numpy',
'scipy',
'joblib',
],
)