Skip to content

Commit

Permalink
more changes for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
robintibor committed Jul 1, 2017
1 parent af1d1a0 commit ed8e42d
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 33 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include README.rst
include LICENSE.txt

recursive-include docs *.ipynb *.rst conf.py Makefile
recursive-exclude docs *checkpoint.ipynb
8 changes: 7 additions & 1 deletion README.md → README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ A deep learning for raw time-domain EEG decoding toolbox.
Installation
============

Install pytorch from http://pytorch.org/.
First, install pytorch from http://pytorch.org/.
Then, install braindecode via pip:

.. code-block:: bash
pip install braindecode
Documentation
=============
Expand Down
Empty file added braindecode/models/__init__.py
Empty file.
22 changes: 22 additions & 0 deletions docs/source/braindecode.datasets.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
braindecode\.datasets package
=============================

Submodules
----------

braindecode\.datasets\.signal\_target module
--------------------------------------------

.. automodule:: braindecode.datasets.signal_target
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: braindecode.datasets
:members:
:undoc-members:
:show-inheritance:
22 changes: 0 additions & 22 deletions docs/source/braindecode.modules.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/source/braindecode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ Subpackages

.. toctree::

braindecode.configs
braindecode.csp
braindecode.datasets
braindecode.experiments
braindecode.models
braindecode.modules
braindecode.mywyrm
braindecode.test
braindecode.torchext

Submodules
Expand Down
8 changes: 8 additions & 0 deletions docs/source/braindecode.torchext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ braindecode\.torchext\.losses module
:undoc-members:
:show-inheritance:

braindecode\.torchext\.modules module
-------------------------------------

.. automodule:: braindecode.torchext.modules
:members:
:undoc-members:
:show-inheritance:

braindecode\.torchext\.util module
----------------------------------

Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from setuptools import setup # Always prefer setuptools over distutils
from setuptools import setup, find_packages # Always prefer setuptools over distutils
from codecs import open # To use a consistent encoding
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the relevant file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()


Expand All @@ -15,7 +15,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version='0.1.1',
version='0.1.2',

description='A deep learning for raw time-domain EEG decoding toolbox.',
long_description=long_description, #this is the
Expand Down Expand Up @@ -56,6 +56,7 @@
# What does your project relate to?
keywords='eeg deep-learning brain-state-decoding',

packages=['braindecode'],

packages=find_packages(),
include_package_data=False,
zip_safe=False,
)

0 comments on commit ed8e42d

Please sign in to comment.