#860 Review and fix Python + Python Appendix
Merged 5 months ago by ignatenkobrain. Opened 5 months ago by churchyard.
churchyard/packaging-committee review_py  into  master

@@ -1,4 +1,5 @@ 

  = Python Packaging Guidelines

+ :last-reviewed: 2019-02-14

  :toc:

  

  == Python Version Support

@@ -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+`.

  

no initial comment

rebased onto d3006a5

5 months ago

Pull-Request has been merged by ignatenkobrain

5 months ago