diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 527f98db662..385dc68432d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -342,6 +342,15 @@ jobs: 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: | + pip install twine + twine upload --skip-existing ./**/*.whl + python -m twine upload --skip-existing ./**/*.tar.gz + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} + - name: Release uses: softprops/action-gh-release@v1 with: diff --git a/Makefile b/Makefile index 663f86ebd66..11dbe435ef3 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,6 @@ style: install: @pip uninstall ansys-api-fluent -y @pip install -r requirements/requirements_build.txt - @pip install install_data/ansys_api_fluent-0.1.0-py3-none-any.whl @python -m build @pip install dist/*.whl diff --git a/README.rst b/README.rst index 8a24254c0ab..7b7496dbe6b 100644 --- a/README.rst +++ b/README.rst @@ -61,7 +61,6 @@ with: git clone https://github.com/pyansys/pyfluent.git cd pyfluent pip install pip -U - pip install install_data/ansys_api_fluent-0.1.0-py3-none-any.whl # till public release pip install -e . python codegen/allapigen.py # Generates the API files, requires Fluent diff --git a/install_data/ansys_api_fluent-0.1.0-py3-none-any.whl b/install_data/ansys_api_fluent-0.1.0-py3-none-any.whl deleted file mode 100644 index 319b6546bf5..00000000000 Binary files a/install_data/ansys_api_fluent-0.1.0-py3-none-any.whl and /dev/null differ diff --git a/setup.py b/setup.py index 0bf9f885db5..dd7b4b4e874 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ shutil.copy2(_README_FILE, _DOCS_FILE) install_requires = [ + "ansys-api-fluent~=0.2", "ansys-platform-instancemanagement~=1.0", "grpcio>=1.30.0", "numpy>=1.21.5", diff --git a/src/ansys/fluent/core/_version.py b/src/ansys/fluent/core/_version.py index 6151b30d3db..06cb8e9636d 100644 --- a/src/ansys/fluent/core/_version.py +++ b/src/ansys/fluent/core/_version.py @@ -6,7 +6,7 @@ """ # major, minor, patch -version_info = 0, 9, "dev0" +version_info = 0, 10, 0 # Nice string for the version __version__ = ".".join(map(str, version_info))