Skip to content

Commit

Permalink
refactor packaging to handle submodules in colab (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico authored Sep 7, 2023
1 parent edf29c4 commit 2d7901d
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/source/tutorials.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ glob:

| Notebook | Colab |
| --- | ---|
| {ref}`probabilistic_networks` | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ilabcode/pyhgf/blob/master/docs/source/notebooks/0.1-Creating_networks.ipynb)
| {ref}`theory` | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ilabcode/pyhgf/blob/master/docs/source/notebooks/0.0-Theory.ipynb)
| {ref}`probabilistic_networks` | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ilabcode/pyhgf/blob/master/docs/source/notebooks/0-Creating_networks.ipynb)
| {ref}`theory` | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ilabcode/pyhgf/blob/master/docs/source/notebooks/0-Theory.ipynb)

## Using the Hierarchical Gaussian Filter

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ def get_version(rel_path):
long_description=open("README.md", encoding='utf-8').read(),
long_description_content_type="text/markdown",
license="GPL-3.0",
version=get_version("pyhgf/__init__.py"),
version=get_version("src/pyhgf/__init__.py"),
install_requires=get_requirements(),
include_package_data=True,
package_data={"": ["pyhgf/pyhgf/data/*.dat"]},
package_dir = {"": "src"},
package_data={"": ["pyhgf/src/pyhgf/data/*.dat"]},
packages=find_packages(),
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added src/pyhgf/updates/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2d7901d

Please sign in to comment.