Milo Sobral commited on
Commit
763def2
·
1 Parent(s): 0a0275a

Fixed packaging

Browse files
Files changed (2) hide show
  1. portiloop/src/stimulation.py +1 -1
  2. setup.py +9 -5
portiloop/src/stimulation.py CHANGED
@@ -8,9 +8,9 @@ from portiloop.src import ADS
8
 
9
  if ADS:
10
  import alsaaudio
 
11
 
12
  import wave
13
- import pylsl
14
  from scipy.signal import find_peaks
15
 
16
 
 
8
 
9
  if ADS:
10
  import alsaaudio
11
+ import pylsl
12
 
13
  import wave
 
14
  from scipy.signal import find_peaks
15
 
16
 
setup.py CHANGED
@@ -11,11 +11,15 @@ setup(
11
  'portilooplot',
12
  'ipywidgets',
13
  'python-periphery',
14
- # 'spidev',
15
- 'pylsl-coral',
16
  'scipy',
17
- 'pycoral',
18
  'matplotlib',
19
- # 'pyalsaaudio'
20
- ]
 
 
 
 
 
 
 
21
  )
 
11
  'portilooplot',
12
  'ipywidgets',
13
  'python-periphery',
 
 
14
  'scipy',
 
15
  'matplotlib',
16
+ ],
17
+ extras_require={
18
+ 'Portiloop': ['pycoral',
19
+ 'spidev',
20
+ 'pylsl-coral',
21
+ 'pyalsaaudio'],
22
+ 'PC': ['gradio',
23
+ 'tensorflow',]
24
+ },
25
  )