@@ -19,8 +19,14 @@ the easiest is simply to run this command:
19
19
20
20
pip install pygranta
21
21
22
- This installs all the PyGranta packages for the latest released
23
- version of Granta MI (for example, 2023 R2).
22
+ This installs all the PyGranta packages for the latest released version of Granta MI.
23
+
24
+ If you are interested in **installing a specific version **, such as ``2023.2.0 ``, you
25
+ can run a command like this one:
26
+
27
+ .. code :: bash
28
+
29
+ pip install pygranta==2023.2.0
24
30
25
31
You can always install PyGranta packages individually by following the installation
26
32
instructions for each package. For example, the instructions for PyGranta
@@ -47,12 +53,12 @@ Then, install the ``pygranta`` metapackage with this command:
47
53
48
54
python -m pip install pygranta
49
55
50
- If you are interested in **installing a specific version **, such as ``2023.1 .0 ``, you
56
+ If you are interested in **installing a specific version **, such as ``2023.2 .0 ``, you
51
57
can run a command like this one:
52
58
53
59
.. code :: bash
54
60
55
- python -m pip install pygranta==2023.1 .0
61
+ python -m pip install pygranta==2023.2 .0
56
62
57
63
58
64
Offline mode installation
@@ -65,19 +71,19 @@ architecture from the repository's `Releases
65
71
<https://github.com/ansys/pygranta/releases> `_ page.
66
72
67
73
Each wheelhouse archive contains all the Python wheels necessary to install
68
- the ``pygranta `` metapackage from scratch on Windows and Linux from Python
69
- 3.8 to 3.11 . You can install this on an isolated system with a fresh Python
74
+ the ``pygranta `` metapackage from scratch on Windows and Linux for all supported
75
+ Python versions . You can install this on an isolated system with a fresh Python
70
76
installation or on a virtual environment.
71
77
72
- For example, on Linux with Python 3.9 , unzip the wheelhouse archive and install
78
+ For example, on Linux with Python 3.12 , unzip the wheelhouse archive and install
73
79
it with these commands:
74
80
75
81
.. code :: bash
76
82
77
- unzip pygranta-v2023.1.dev0 -wheelhouse-Linux-3.9 -core.zip wheelhouse
83
+ unzip pygranta-v2023.2.0 -wheelhouse-Linux-3.12 -core.zip wheelhouse
78
84
pip install pygranta -f wheelhouse --no-index --upgrade --ignore-installed
79
85
80
- If you're on Windows with Python 3.9 , unzip to a wheelhouse directory and install
86
+ If you're on Windows with Python 3.12 , unzip to a wheelhouse directory and install
81
87
using the same command as for Linux.
82
88
83
89
Consider installing using a `virtual environment <https://docs.python.org/3/library/venv.html >`_.
@@ -95,30 +101,30 @@ following versioning system is followed:
95
101
96
102
Where:
97
103
98
- - ``XXXX `` is the Ansys product release year (for example, 2022 ).
104
+ - ``XXXX `` is the Ansys product release year (for example, 2024 ).
99
105
- ``Y `` is the Ansys product release within the same year (for example, 1,
100
106
which relates to R1).
101
107
- ``ZZ `` is the patched versions to the ``pygranta `` metapackage, if any.
102
108
103
- Consequently, the first ``pygranta `` metapackage compatible with the 2024 R2
109
+ Consequently, the first ``pygranta `` metapackage compatible with the 2024 R1
104
110
release would be:
105
111
106
112
.. code :: bash
107
113
108
- 2024.2 .0
114
+ 2024.1 .0
109
115
110
116
Any subsequent patched version of this package would have these versions:
111
117
112
118
.. code :: bash
113
119
114
- 2024.2 .1
115
- 2024.2 .2
116
- 2024.2 .3
120
+ 2024.1 .1
121
+ 2024.1 .2
122
+ 2024.1 .3
117
123
...
118
124
119
125
When using ``pip `` to install your package, you can install a specific version with a
120
126
command like this:
121
127
122
128
.. code :: bash
123
129
124
- python -m pip install pygranta==2024.2 .0
130
+ python -m pip install pygranta==2024.1 .0
0 commit comments