Skip to content

Commit

Permalink
PD-5097
Browse files Browse the repository at this point in the history
  • Loading branch information
AMBERMW13 committed Sep 23, 2024
1 parent d7266be commit b78930a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ <h2>Create a virtual environment</h2>
<p class="tip" MadCap:autonum="&lt;b&gt;Tip: &lt;/b&gt;"><MadCap:variable name="General.Liquibase" /> custom policy checks use GraalPy to execute your custom checks. We recommend <a href="https://www.graalvm.org/latest/reference-manual/python/Python-Runtime/#installing-graalpy">downloading and using the GraalPy Python runtime</a> if you are working in a virtual environment. The package installer is available when using a virtual environment. The GraalPy implementation of <code>pip</code> may choose package versions other than the latest when it ships patches to improve performance.</p>
<p><MadCap:variable name="General.Liquibase" /> bundles and utilizes GraalPy to execute Python scripts via Java. GraalPy also provides patches to certain packages that facilitates a smooth workflow with Java when installing those packages. Python scripts can be stored anywhere text files are stored including:&#160;CWD, local paths, S3, or the GitHub extension, etc. </p>
<p class="note" MadCap:autonum="&lt;b&gt;Note: &lt;/b&gt;">This is only recommended to users who are familiar with building and deploying Python virtual environments.</p>
<h3>Prerequisites</h3>
<p>Follow the <MadCap:xref href="home.htm">Custom Policy Checks</MadCap:xref> prerequisites to download and install the <a href="https://mvnrepository.com/artifact/org.liquibase.ext/liquibase-checks"><MadCap:variable name="General.Liquibase" /> Checks extension</a>.</p>
<h3>Step-by-step instructions</h3>
<ol>
<li>Run <code>python -m venv .your/path/to/venv</code> to create a <code>.your/path/to/venv</code> directory which contains (many) Python executables.</li>
Expand Down

0 comments on commit b78930a

Please sign in to comment.