Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all pyvista/post reference #484

Merged
merged 1 commit into from
Jun 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ version-info:
@bash -c "date -u +'Build date: %B %d, %Y %H:%M UTC ShaID: <id>' | 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/<id>/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
Expand Down
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 0 additions & 20 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -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 -----------------------------------------------------
Expand Down Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion doc/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------------
Expand Down
8 changes: 1 addition & 7 deletions requirements/requirements_doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
sphinxemoji==0.2.0