forked from neuropycon/ephypype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (42 loc) · 1.42 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup configuration."""
import os
from setuptools import setup, find_packages
VERSION = None
with open(os.path.join('ephypype', '__init__.py'), 'r') as fid:
for line in (line.strip() for line in fid):
if line.startswith('__version__'):
VERSION = line.split('=')[1].strip().strip('\'')
break
if VERSION is None:
raise RuntimeError('Could not determine version')
descr = """Python package providing pipelines for electrophysiological (EEG/MEG) data within nipype framework."""
DISTNAME = 'ephypype'
DESCRIPTION = descr
MAINTAINER = 'Annalisa Pascarella'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://neuropycon.github.io/ephypype/'
LICENSE = 'BSD (3-clause)'
DOWNLOAD_URL = 'https://github.com/neuropycon/ephypype'
if __name__ == "__main__":
setup(
name=DISTNAME,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
version=VERSION,
packages=find_packages(),
author=['David Meunier',
'Annalisa Pascarella',
'Dmitrii Altukhov'],
description=DESCRIPTION,
license=LICENSE,
url=URL,
download_url=DOWNLOAD_URL,
long_description=open('README.rst').read(),
long_description_content_type='text/markdown',
entry_points='''
[console_scripts]
neuropycon=ephypype.commands.neuropycon:cli
'''
)