From bef3020f44c8b0e02837cddca21c2a77cde08fbb Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Thu, 9 Jun 2022 16:30:11 +0530 Subject: [PATCH] Remove all pyvista/post reference --- .github/workflows/ci.yml | 5 +---- Makefile | 4 ---- README.rst | 1 - doc/source/conf.py | 20 -------------------- doc/source/contributing.rst | 1 - requirements/requirements_doc.txt | 8 +------- 6 files changed, 2 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f45db31195..37fa406fb86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -202,13 +202,10 @@ jobs: restore-keys: | Python-${{ runner.os }}-${{ matrix.python-version }} - - name: Install pyvistaqt requirements - run: make install-pyvistaqt-requirements - - name: Add version information run: make version-info - - name: Install pyfluent with post + - name: Install pyfluent run: make install - name: Login to GitHub Container Registry diff --git a/Makefile b/Makefile index cf70ab5eed2..67e6f9ccf5e 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,6 @@ version-info: @bash -c "date -u +'Build date: %B %d, %Y %H:%M UTC ShaID: ' | xargs -I date sed -i 's/_VERSION_INFO = .*/_VERSION_INFO = \"date\"/g' src/ansys/fluent/core/__init__.py" @bash -c "git --no-pager log -n 1 --format='%h' | xargs -I hash sed -i 's//hash/g' src/ansys/fluent/core/__init__.py" -install-pyvistaqt-requirements: - @sudo apt update - @sudo apt install libegl1 -y - docker-pull: @pip install docker @python .ci/pull_fluent_image.py diff --git a/README.rst b/README.rst index 5c5a431c93a..ab519ba5c0c 100644 --- a/README.rst +++ b/README.rst @@ -51,7 +51,6 @@ with: cd pyfluent pip install pip -U pip install -e . - pip install -e .[post] # If you want to use pyvista python codegen/allapigen.py # Generates the API files, requires Fluent Dependencies diff --git a/doc/source/conf.py b/doc/source/conf.py index 7264035a6ec..ead67515328 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -1,33 +1,14 @@ """Sphinx documentation configuration file.""" from datetime import datetime -import os import platform import subprocess from ansys_sphinx_theme import ansys_favicon, pyansys_logo_black -import numpy as np -import pyvista from sphinx_gallery.sorting import FileNameSortKey import ansys.fluent.core as pyfluent from ansys.fluent.core import __version__ -# Manage errors -pyvista.set_error_output_file("errors.txt") - -# Ensure that offscreen rendering is used for docs generation -pyvista.OFF_SCREEN = True - -# must be less than or equal to the XVFB window size -pyvista.rcParams["window_size"] = np.array([1024, 768]) - -# Save figures in specified directory -pyvista.FIGURE_PATH = os.path.join(os.path.abspath("./images/"), "auto-generated/") -if not os.path.exists(pyvista.FIGURE_PATH): - os.makedirs(pyvista.FIGURE_PATH) - -# necessary when building the sphinx gallery -pyvista.BUILDING_GALLERY = True pyfluent.BUILDING_GALLERY = True # -- Project information ----------------------------------------------------- @@ -162,7 +143,6 @@ def _stop_fluent_container(gallery_conf, fname): "backreferences_dir": None, # Modules for which function level galleries are created. In "doc_module": "ansys-fluent-core", - "image_scrapers": ("pyvista", "matplotlib"), "ignore_pattern": "flycheck*", "thumbnail_size": (350, 350), "reset_modules_order": "after", diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index c5b0cc440f8..3eacbdd5ab5 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -23,7 +23,6 @@ mode: cd pyfluent pip install pip -U pip install -e . - pip install -e .[post] # If you want to use pyvista Building Documentation ---------------------- diff --git a/requirements/requirements_doc.txt b/requirements/requirements_doc.txt index 3b31f24064d..31fb23a7650 100644 --- a/requirements/requirements_doc.txt +++ b/requirements/requirements_doc.txt @@ -10,10 +10,4 @@ sphinx-copybutton==0.5.0 sphinx-gallery==0.10.1 sphinx-notfound-page==0.8 sphinxcontrib-websupport==1.2.4 -sphinxemoji==0.2.0 -pandas==1.4.1 -vtk==9.1.0 -pyvista==0.33.2 -pyvistaqt==0.7.0 -pyside6==6.2.3 -matplotlib==3.5.1 \ No newline at end of file +sphinxemoji==0.2.0 \ No newline at end of file