Changeset 793b567


Ignore:
Timestamp:
05/05/2024 05:25:46 PM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
lazarus, trunk
Children:
e1092747
Parents:
5b6899bd
Message:

pygments: Add test instruction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-modules/pygments.xml

    r5b6899bd r793b567  
    7575      </para>
    7676
     77      <bridgehead renderas="sect4">Optional (for testing)</bridgehead>
     78      <para role="optional">
     79        <xref linkend="pytest"/> and
     80        <ulink url='https://pypi.org/project/wcag-contrast-ratio'>wcag-contrast-ratio</ulink>
     81      </para>
     82
    7783    </sect3>
    7884
     
    9197
    9298<screen role="root"><userinput>&install-wheel; Pygments</userinput></screen>
     99
     100      <para>
     101        To test the installation, make sure <xref linkend='pytest'/> is
     102        installed and run:
     103      </para>
     104
     105<screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
     106testenv/bin/pip3 install wcag-contrast-ratio   &amp;&amp;
     107testenv/bin/python -m pytest</userinput></screen>
    93108
    94109    </sect3>
Note: See TracChangeset for help on using the changeset viewer.