From d3006a56fdde5572bf0b1fb31e98a6497ef393e7 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Feb 14 2019 20:20:17 +0000 Subject: Review and fix Python + Python Appendix --- diff --git a/guidelines/modules/ROOT/pages/Python.adoc b/guidelines/modules/ROOT/pages/Python.adoc index 92c254b..06473eb 100644 --- a/guidelines/modules/ROOT/pages/Python.adoc +++ b/guidelines/modules/ROOT/pages/Python.adoc @@ -1,4 +1,5 @@ = Python Packaging Guidelines +:last-reviewed: 2019-02-14 :toc: == Python Version Support diff --git a/guidelines/modules/ROOT/pages/Python_Appendix.adoc b/guidelines/modules/ROOT/pages/Python_Appendix.adoc index 260f90c..6561c31 100644 --- a/guidelines/modules/ROOT/pages/Python_Appendix.adoc +++ b/guidelines/modules/ROOT/pages/Python_Appendix.adoc @@ -1,10 +1,16 @@ = Additional Python Guidelines +:last-reviewed: 2019-02-14 +:toc: Here are some additional Python-related guidelines, moved here in order to keep the main page manageable. == Python 2 packages -If your package needs to build for Python 2 only, follow the Packaging:Python[regular Python guidelines], except substitute 3 for 2. For example instead of `+%{python3_sitearch}+`, use `+%{python2_sitearch}+`. +If your package needs to build for Python 2 only, +follow the xref:Python.adoc[regular Python guidelines], +except substitute 3 for 2. +For example instead of `+%{python3_sitearch}+`, +use `+%{python2_sitearch}+`. Special emphasis on the rule that packages MUST NOT use `+/usr/bin/python+`.