-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
46 lines (40 loc) · 1.35 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
"""PyLossless setup file.
Authors:
Christian O'Reilly <[email protected]>
Scott Huberty <[email protected]>
James Desjardins <[email protected]>
Tyler Collins <[email protected]>
License: MIT
"""
from pathlib import Path
from setuptools import setup, find_packages
with Path('requirements.txt').open() as f:
requirements = f.read().splitlines()
extras = {
'dash': 'requirements_qc.txt',
'test': 'requirements_testing.txt',
'doc': './docs/requirements_doc.txt'
}
extras_require = {}
for extra, req_file in extras.items():
with Path(req_file).open() as file:
requirements_extra = file.read().splitlines()
extras_require[extra] = requirements_extra
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
qc_entry_point = ["pylossless_qc=pylossless.dash.pylossless_qc:main"]
setup(
name='pylossless',
version='0.1.0',
description='Lossless EEG Processing Pipeline Built on MNE and Dash',
long_description=long_description,
long_description_content_type='text/markdown',
author="Scott Huberty",
author_email='[email protected]',
url='https://github.com/lina-usc/pylossless',
packages=find_packages(),
install_requires=requirements,
extras_require=extras_require,
include_package_data=True,
entry_points={"console_scripts": qc_entry_point}
)