-
Notifications
You must be signed in to change notification settings - Fork 124
/
setup.py
42 lines (38 loc) · 1.89 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
#!/usr/bin/env python
from setuptools import setup, find_packages
with open("README.rst", "r") as fh:
long_description = fh.read()
fptxt = open('requirements.txt', 'r').read()
install_requires_analysis = fptxt.split('## ~~ Analysis Requirements ~~')[1].split('## ~~')[0].splitlines()[1:]
install_requires_streaming = fptxt.split('## ~~ Streaming Requirements ~~')[1].split('## ~~')[0].splitlines()[1:]
install_requires_stimpres = fptxt.split('## ~~ Stimpres Requirements ~~')[1].split('## ~~')[0].splitlines()[1:]
install_requires_docsbuild = fptxt.split('## ~~ Docsbuild Requirements ~~')[1].split('## ~~')[0].splitlines()[1:]
setup(
name="eeg-expy",
version="0.2",
author="John David Griffiths",
author_email="j.davidgriffiths@gmail.com",
description='python library for eeg cognitive neuroscience experiments',
keywords='eeg, cognitive neuroscience, experiments, evoked response, auditory, visual',
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[ install_requires_analysis ], # base dependencies
extras_require={
'docsbuild': install_requires_docsbuild,
'streaming': install_requires_streaming,
'stimpres': install_requires_stimpres,
'streamstim': install_requires_streaming + install_requires_stimpres,
'full': install_requires_docsbuild + install_requires_streaming + install_requires_stimpres
},
url='https://github.com/NeuroTechX/eeg-expy',
license="BSD (3-clause)",
entry_points={"console_scripts": ["eegnb=eegnb.cli.__main__:main",
"eegexpy=eegnb.cli.__main__:main"]},
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
)