diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 9274883b..917c9526 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -191,15 +191,15 @@ jobs: - name: Display package file list run: ls -R - # - name: Upload to Private PyPi - # run: | - # pip install twine - # python -m twine upload --skip-existing ./**/*.whl - # python -m twine upload --skip-existing ./**/*.tar.gz - # env: - # TWINE_USERNAME: PAT - # TWINE_PASSWORD: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }} - # TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload + - name: Upload to Private PyPi + run: | + pip install twine + python -m twine upload --skip-existing ./**/*.whl + python -m twine upload --skip-existing ./**/*.tar.gz + env: + TWINE_USERNAME: PAT + TWINE_PASSWORD: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }} + TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload - name: Upload to Public PyPi run: | diff --git a/README.rst b/README.rst index 1816f15e..b4ce1a06 100644 --- a/README.rst +++ b/README.rst @@ -42,13 +42,25 @@ Installation The ``ansys-fluent-visualization`` package currently supports Python 3.7 through Python 3.10 on Windows and Linux. -If you want to use PyFluent visualization please install the latest from `PyFluent Visualization GitHub +If you're using Python 3.10, install the vtk package from .whl file +`here in Windows `_ or +`here in Linux `_. + +Install the latest release from `PyPI +`_ with: + +.. code:: console + + pip install ansys-fluent-visualization + +Alternatively, install the latest from `pyfluent-visualization GitHub `_ via: .. code:: console pip install git+https://github.com/pyansys/pyfluent-visualization.git + If you plan on doing local "development" of PyFluent with Git, then install with: diff --git a/pyproject.toml b/pyproject.toml index 8318598c..99f90b49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,11 +26,7 @@ packages = [ python = ">=3.7,<4.0" importlib-metadata = {version = "^4.0", python = "<3.8"} ansys-fluent-core = "~=0.10" -vtk = [ -{ url = "https://github.com/pyvista/pyvista-wheels/raw/main/vtk-9.1.0.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" , markers = "python_version > '3.9' and sys_platform == 'linux'"}, -{ url = "https://github.com/pyvista/pyvista-wheels/raw/main/vtk-9.1.0.dev0-cp310-cp310-win_amd64.whl" , markers = "python_version > '3.9' and sys_platform != 'linux'"}, -{ version = "9.1.0", python = "<=3.9" }, -] +vtk = {version = "9.1.0", python = "<=3.9"} ipyvtklink = ">=0.2.2" pyvista = ">=0.33.2" pyvistaqt = ">=0.7.0"