Skip to content

Commit

Permalink
refactor to requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sirexeclp committed Apr 10, 2020
1 parent f1d03bc commit 95f6059
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
bitstring
pygatt
pandas
scikit-learn
numpy
seaborn
pexpect
pylsl==1.10.5; "linux" in sys.platform
pylsl; "linux" not in sys.platform
13 changes: 3 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from pathlib import Path

from setuptools import setup, find_packages
from shutil import copyfile
import os
Expand Down Expand Up @@ -38,16 +40,7 @@ def copy_docs():
zip_safe=False,
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
"bitstring",
"pygatt",
"pandas",
"scikit-learn",
"numpy",
"seaborn",
"pexpect",
] +
(["pylsl==1.10.5"] if os.sys.platform.startswith("linux") else ["pylsl"]),
install_requires=Path("requirements.txt").read_text().splitlines(),
extras_require={"Viewer V2": ["mne", "vispy"]},
classifiers=[
# How mature is this project? Common values are
Expand Down

0 comments on commit 95f6059

Please sign in to comment.