Skip to content

Commit

Permalink
Properly install subpackages
Browse files Browse the repository at this point in the history
  • Loading branch information
astoeckel committed Jun 2, 2019
1 parent c559093 commit d3d0529
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions nengo_bio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ def _warn_omp_num_threads():
from nengo_bio.ensemble import Ensemble
from nengo_bio.common import Excitatory, Inhibitory

# Explicitly load the submodules
# Explicitly load the builder submodule to register the builder components
import nengo_bio.builder as builder
import nengo_bio.internal as internal
2 changes: 2 additions & 0 deletions nengo_bio/builder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

name = 'nengo_bio.builder'

# Explicitly load all the sub-modules to register the builder components
import nengo_bio.builder.connection as connection
import nengo_bio.builder.ensemble as ensemble
Expand Down
1 change: 1 addition & 0 deletions nengo_bio/internal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

name = 'nengo_bio.internal'
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

setup(
name='nengo_bio',
packages=[
'nengo_bio'
],
packages=find_packages(),
version='0.1',
author='Andreas Stöckel',
author_email='[email protected]',
Expand Down

0 comments on commit d3d0529

Please sign in to comment.