-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
46 lines (40 loc) · 1.37 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 <christian.oreilly@sc.edu>
Scott Huberty <seh33@uw.edu>
James Desjardins <jim.a.desjardins@gmail.com>
Tyler Collins <collins.tyler.k@gmail.com>
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(encoding="utf-8")
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="seh33@uw.edu",
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},
)