File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ the installation has clean dependencies):
2828
2929 pip install autofit
3030
31- Next, clone the ``autofit workspace `` (the line ``--depth 1 `` clones only the most recent branch on
32- the ``autofit_workspace ``, reducing the download size):
31+ Next, clone the ``autofit_workspace `` at the tag matching your installed ``PyAutoFit `` version. Each
32+ ``PyAutoFit `` release tags a paired ``autofit_workspace `` snapshot, so cloning by tag guarantees that the
33+ example scripts and notebooks were generated against the library version you installed:
3334
3435.. code-block :: bash
3536
3637 cd /path/on/your/computer/you/want/to/put/the/autofit_workspace
37- git clone https://github.com/Jammy2211/autofit_workspace --depth 1
38+ AUTOFIT_VERSION=$( python -c " import autofit; print(autofit.__version__)" )
39+ git clone https://github.com/Jammy2211/autofit_workspace --branch $AUTOFIT_VERSION --depth 1
3840 cd autofit_workspace
3941
4042 Run the `welcome.py ` script to get started!
Original file line number Diff line number Diff line change @@ -17,13 +17,15 @@ the installation has clean dependencies):
1717 If this raises no errors **PyAutoFit ** is installed! If there is an error check out
1818the `troubleshooting section <https://pyautofit.readthedocs.io/en/latest/installation/troubleshooting.html >`_.
1919
20- Next, clone the ``autofit workspace `` (the line ``--depth 1 `` clones only the most recent branch on
21- the ``autofit_workspace ``, reducing the download size):
20+ Next, clone the ``autofit_workspace `` at the tag matching your installed ``PyAutoFit `` version. Each
21+ ``PyAutoFit `` release tags a paired ``autofit_workspace `` snapshot, so cloning by tag guarantees that the
22+ example scripts and notebooks were generated against the library version you installed:
2223
2324.. code-block :: bash
2425
2526 cd /path/on/your/computer/you/want/to/put/the/autofit_workspace
26- git clone https://github.com/Jammy2211/autofit_workspace --depth 1
27+ AUTOFIT_VERSION=$( python -c " import autofit; print(autofit.__version__)" )
28+ git clone https://github.com/Jammy2211/autofit_workspace --branch $AUTOFIT_VERSION --depth 1
2729 cd autofit_workspace
2830
2931 Run the ``welcome.py `` script to get started!
You can’t perform that action at this time.
0 commit comments