Skip to content

Commit 302ade7

Browse files
committed
fixed __init__
1 parent cff63ba commit 302ade7

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

Neural_Decoding/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from .decoders import WienerFilterDecoder, WienerCascadeDecoder, KalmanFilterDecoder,\
2+
DenseNNDecoder, SimpleRNNDecoder, GRUDecoder, LSTMDecoder, XGBoostDecoder, SVRDecoder, NaiveBayesDecoder
3+
from .metrics import get_R2, get_rho
4+
from .preprocessing_funcs import bin_output, bin_spikes, get_spikes_with_history

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
xgboost.egg==info
1+
xgboost>=0.9.0
22
statsmodels>=0.9.0
33
scipy>=1.2.1
44
numpy>=1.16.3

setup.py

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#! /usr/bin/env python
2+
import setuptools # noqa; we are using a setuptools namespace
3+
# from numpy.distutils.core import setup
4+
from setuptools import setup, Extension
5+
6+
descr = """A python package that includes many methods for decoding neural activity."""
7+
8+
DISTNAME = 'Neural Decoding'
9+
DESCRIPTION = descr
10+
MAINTAINER = 'Josh Glaser'
11+
MAINTAINER_EMAIL = '[email protected] '
12+
LICENSE = 'BSD 3-Clause License'
13+
DOWNLOAD_URL = 'https://github.com/KordingLab/Neural_Decoding.git'
14+
VERSION = '0.1.2.dev'
15+
with open('requirements.txt') as f:
16+
requirements = f.read().splitlines()
17+
18+
if __name__ == "__main__":
19+
setup(name=DISTNAME,
20+
maintainer=MAINTAINER,
21+
maintainer_email=MAINTAINER_EMAIL,
22+
description=DESCRIPTION,
23+
license=LICENSE,
24+
version=VERSION,
25+
download_url=DOWNLOAD_URL,
26+
long_description=open('README.md').read(),
27+
long_description_content_type= 'text/markdown',
28+
classifiers=[
29+
'Intended Audience :: Science/Research',
30+
'Intended Audience :: Developers',
31+
'License :: OSI Approved',
32+
'Programming Language :: Python',
33+
'Topic :: Software Development',
34+
'Topic :: Scientific/Engineering',
35+
'Operating System :: Microsoft :: Windows',
36+
'Operating System :: POSIX',
37+
'Operating System :: Unix',
38+
'Operating System :: MacOS',
39+
],
40+
platforms='any',
41+
packages=['Neural_Decoding'],
42+
install_requires=requirements,
43+
)

0 commit comments

Comments
 (0)