diff --git a/.github/workflows/pdoc.yml b/.github/workflows/pdoc.yml index 1971864..584b852 100644 --- a/.github/workflows/pdoc.yml +++ b/.github/workflows/pdoc.yml @@ -18,11 +18,11 @@ jobs: run: | pip install pdoc3 pip install -e . - python -We -m pdoc --html atmos_cloud_sim_uj_utils + JUPYTER_PLATFORM_DIRS=1 python -We -m pdoc --html open_atmos_jupyter_utils - name: Deploy if: github.ref == 'refs/heads/main' uses: JamesIves/github-pages-deploy-action@4.1.1 with: BRANCH: pdoc - FOLDER: html/atmos_cloud_sim_uj_utils + FOLDER: html/open_atmos_jupyter_utils CLEAN: true diff --git a/atmos_cloud_sim_uj_utils/__init__.py b/atmos_cloud_sim_uj_utils/__init__.py deleted file mode 100644 index e0beb76..0000000 --- a/atmos_cloud_sim_uj_utils/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -""" -utility routines used in PySDM and PyMPDATA example Jupyter notebooks -""" -from atmos_cloud_sim_uj_utils.pip_install_on_colab import pip_install_on_colab -from atmos_cloud_sim_uj_utils.temporary_file import TemporaryFile -from atmos_cloud_sim_uj_utils.show_plot import show_plot, save_and_make_link diff --git a/open_atmos_jupyter_utils/__init__.py b/open_atmos_jupyter_utils/__init__.py new file mode 100644 index 0000000..ab1e45f --- /dev/null +++ b/open_atmos_jupyter_utils/__init__.py @@ -0,0 +1,6 @@ +""" +utility routines used in PySDM and PyMPDATA example Jupyter notebooks +""" +from open_atmos_jupyter_utils.pip_install_on_colab import pip_install_on_colab +from open_atmos_jupyter_utils.temporary_file import TemporaryFile +from open_atmos_jupyter_utils.show_plot import show_plot, save_and_make_link diff --git a/atmos_cloud_sim_uj_utils/pip_install_on_colab.py b/open_atmos_jupyter_utils/pip_install_on_colab.py similarity index 100% rename from atmos_cloud_sim_uj_utils/pip_install_on_colab.py rename to open_atmos_jupyter_utils/pip_install_on_colab.py diff --git a/atmos_cloud_sim_uj_utils/show_plot.py b/open_atmos_jupyter_utils/show_plot.py similarity index 93% rename from atmos_cloud_sim_uj_utils/show_plot.py rename to open_atmos_jupyter_utils/show_plot.py index 347ce5f..75d922b 100644 --- a/atmos_cloud_sim_uj_utils/show_plot.py +++ b/open_atmos_jupyter_utils/show_plot.py @@ -4,7 +4,7 @@ from IPython.display import display from IPython.core.interactiveshell import InteractiveShell from IPython.core.pylabtools import select_figure_formats -from atmos_cloud_sim_uj_utils.temporary_file import TemporaryFile +from open_atmos_jupyter_utils.temporary_file import TemporaryFile def show_plot(filename=None, fig=pyplot, inline_format='svg'): diff --git a/atmos_cloud_sim_uj_utils/temporary_file.py b/open_atmos_jupyter_utils/temporary_file.py similarity index 100% rename from atmos_cloud_sim_uj_utils/temporary_file.py rename to open_atmos_jupyter_utils/temporary_file.py diff --git a/setup.py b/setup.py index a0747c4..f8da685 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def get_long_description(): author='https://github.com/open-atmos/jupyter-utils/graphs/contributors', author_email='sylwester.arabas@uj.edu.pl', license="GPL-3.0", - packages=find_packages(include=['atmos_cloud_sim_uj_utils', 'atmos_clous_sim_uj_utils.*']), + packages=find_packages(include=['open_atmos_jupyter_utils', 'open_atmos_jupyter_utils.*']), long_description=get_long_description(), long_description_content_type="text/markdown", project_urls={