Skip to content

Commit 560a526

Browse files
authored
feat: add protoc helper (#363)
* feat: add protoc helper * fix: missing entry * fix: only under Python 3.10 * feat: skip from metapackage
1 parent 10cd817 commit 560a526

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

.github/workflows/create-milestone.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
"ansys/pyfluent-visualization",
5050
# TOOLS
5151
"ansys/ansys-tools-path",
52+
"ansys/ansys-tools-protoc-helper",
5253
"ansys/pyansys-tools-report",
5354
"ansys/pyansys-tools-versioning",
5455
"ansys/pyansys-units",

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages
6666
Other tools delivered as part of the metapackage are:
6767

6868
- `Ansys Tools Path <https://path.tools.docs.pyansys.com/>`_: Library to locate Ansys products in a local machine.
69+
- `Ansys Tools Protobuf Compilation Helper <https://ansys.github.io/ansys-tools-protoc-helper/>`_: Utility library to compile ``.proto`` files to Python source when building the package wheel.
6970
- `PyAnsys Tools Report <https://report.tools.docs.pyansys.com/>`_: Tool for reporting your Python environment's package versions and hardware resources in a standardized way.
7071
- `PyAnsys Tools Versioning <https://versioning.tools.docs.pyansys.com/>`_: Tool for backwards and forwards server support.
7172
- `PyAnsys Units <https://units.docs.pyansys.com/>`_: Pythonic interface for units, unit systems, and unit conversions.
@@ -106,7 +107,7 @@ can be installed upon request:
106107

107108
- **mapdl-all**: This target installs the core packages and `PyMAPDL Reader`_.
108109
- **fluent-all**: This target installs the core packages, `PyFluent - Parametric`_, and `PyFluent - Visualization`_.
109-
- **tools**: This target installs the core packages, `Ansys Tools Path`_, `PyAnsys Tools Versioning`_, `PyAnsys Tools Report`_, and `PyAnsys Units`_.
110+
- **tools**: This target installs the core packages, `Ansys Tools Path`_, `Ansys Tools Protobuf Compilation Helper`_, `PyAnsys Tools Versioning`_, `PyAnsys Tools Report`_, and `PyAnsys Units`_.
110111
- **all**: This target installs all extra ``pyansys`` packages.
111112

112113
Package installation

doc/source/tools/libraries/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Tooling libraries
1212

1313
Library to locate Ansys products in a local machine
1414

15+
.. grid-item-card:: Ansys Tools Protobuf Compilation Helper
16+
:img-top: ../../_static/thumbnails/intro.png
17+
:link: https://ansys.github.io/ansys-tools-protoc-helper/
18+
:text-align: center
19+
:class-title: pyansys-card-title
20+
:margin: 2 2 0 0
21+
22+
Utility library to compile ``.proto`` files to Python source when building the package wheel
23+
1524
.. grid-item-card:: PyAnsys Tools Report
1625
:img-top: ../../_static/thumbnails/intro.png
1726
:link: https://report.tools.docs.pyansys.com/version/stable

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ all = [
7575
# TOOLS
7676
"ansys-units==0.1.0",
7777
"ansys-tools-path==0.3.1",
78+
# "ansys-tools-protoc-helper==0.4.0; python_version<='3.10'",
7879
"pyansys-tools-report==0.6.0",
7980
"pyansys-tools-versioning==0.4.0",
8081
]

tools/links.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
# TOOLS
5454
"ansys-units": "https://units.docs.pyansys.com/version/stable",
5555
"ansys-tools-path": "https://path.tools.docs.pyansys.com/version/stable",
56+
"ansys-tools-protoc-helper": None,
5657
"pyansys-tools-report": "https://report.tools.docs.pyansys.com/version/stable", # noqa: E501
5758
"pyansys-tools-versioning": "https://versioning.tools.docs.pyansys.com/version/stable", # noqa: E501
5859
}

0 commit comments

Comments
 (0)