diff --git a/docs/source/tutorials.md b/docs/source/tutorials.md index f50571abc..fda03fea7 100644 --- a/docs/source/tutorials.md +++ b/docs/source/tutorials.md @@ -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 diff --git a/setup.py b/setup.py index 3a7a8633a..4b631b58f 100644 --- a/setup.py +++ b/setup.py @@ -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(), ) diff --git a/pyhgf/__init__.py b/src/pyhgf/__init__.py similarity index 100% rename from pyhgf/__init__.py rename to src/pyhgf/__init__.py diff --git a/pyhgf/data/binary_input.txt b/src/pyhgf/data/binary_input.txt similarity index 100% rename from pyhgf/data/binary_input.txt rename to src/pyhgf/data/binary_input.txt diff --git a/pyhgf/data/binary_response.txt b/src/pyhgf/data/binary_response.txt similarity index 100% rename from pyhgf/data/binary_response.txt rename to src/pyhgf/data/binary_response.txt diff --git a/pyhgf/data/usdchf.txt b/src/pyhgf/data/usdchf.txt similarity index 100% rename from pyhgf/data/usdchf.txt rename to src/pyhgf/data/usdchf.txt diff --git a/pyhgf/distribution.py b/src/pyhgf/distribution.py similarity index 100% rename from pyhgf/distribution.py rename to src/pyhgf/distribution.py diff --git a/pyhgf/model.py b/src/pyhgf/model.py similarity index 100% rename from pyhgf/model.py rename to src/pyhgf/model.py diff --git a/pyhgf/networks.py b/src/pyhgf/networks.py similarity index 100% rename from pyhgf/networks.py rename to src/pyhgf/networks.py diff --git a/pyhgf/plots.py b/src/pyhgf/plots.py similarity index 100% rename from pyhgf/plots.py rename to src/pyhgf/plots.py diff --git a/pyhgf/response.py b/src/pyhgf/response.py similarity index 100% rename from pyhgf/response.py rename to src/pyhgf/response.py diff --git a/pyhgf/typing.py b/src/pyhgf/typing.py similarity index 100% rename from pyhgf/typing.py rename to src/pyhgf/typing.py diff --git a/src/pyhgf/updates/__init__.py b/src/pyhgf/updates/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pyhgf/updates/binary.py b/src/pyhgf/updates/binary.py similarity index 100% rename from pyhgf/updates/binary.py rename to src/pyhgf/updates/binary.py diff --git a/pyhgf/updates/categorical.py b/src/pyhgf/updates/categorical.py similarity index 100% rename from pyhgf/updates/categorical.py rename to src/pyhgf/updates/categorical.py diff --git a/pyhgf/updates/continuous.py b/src/pyhgf/updates/continuous.py similarity index 100% rename from pyhgf/updates/continuous.py rename to src/pyhgf/updates/continuous.py