[MacPorts] Python modified

MacPorts Wiki noreply at macports.org
Tue Sep 17 04:48:21 UTC 2019


Page "Python" was changed by jmroot
Diff URL: <https://trac.macports.org/wiki/Python?action=diff&version=7>
Revision 7
Comment: update versions, links
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Python
=========================================================================
--- Python (version: 6)
+++ Python (version: 7)
@@ -3,29 +3,16 @@
 Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel the language encourages the development of higher quality, more maintainable code.
 == Python in MacPorts ==
 MacPorts allows the installation of several different versions of python.[[BR]]
-Versions 2.6 and later, however, are the primary focus of work.
+Versions 3.5 and later, however, are the primary focus of work. New ports should support Python 3.7, with support for older versions added only if there is a good reason.
 
 == Frameworks ==
-Python is installed as [http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Frameworks.html Framework].[[BR]]
-To maintain compatibility, however, python24 and python25 install as a hybrid Framework/Library installation (see #16334).
+Python is installed as a [https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Frameworks.html Framework].[[BR]]
 
 == Avoiding Conflicts ==
 Since MacPorts supports several different version of Python, conventions are adopted to ensure that there are no conflicts.[[BR]]
-Ports which use the python PortGroups
-([browser:trunk/dports/_resources/port1.0/group/python24-1.0.tcl python24],
-[browser:trunk/dports/_resources/port1.0/group/python25-1.0.tcl python25],
-[browser:trunk/dports/_resources/port1.0/group/python26-1.0.tcl python26],
-[browser:trunk/dports/_resources/port1.0/group/python27-1.0.tcl python27],
-[browser:trunk/dports/_resources/port1.0/group/python31-1.0.tcl python31]
-and
-[browser:trunk/dports/_resources/port1.0/group/python32-1.0.tcl python32])
+Ports of python modules which use the [https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/python-1.0.tcl python PortGroup]
 are automatically installed so as to avoid conflicts.[[BR]]
 Other python packages must self-enforce conventions to avoid conflicts.
-
-=== Versions 2.4 and 2.5 ===
-   * Header files are installed into ${prefix}/include/python${python.branch}.
-   * Library files are installed into ${prefix}/lib/python${python.branch}.
-   * Site-packages are installed into ${prefix}/lib/python${python.branch}/site-packages.
 
 === Versions 2.6 and Later === 
    * Header files are installed into ${frameworks_dir}/Python.framework/Versions/${python.branch}/include/python${python.branch}.
@@ -52,7 +39,5 @@
 
 Examples: r82756, r82241
 
-Mailing List archive: [http://lists.macosforge.org/pipermail/macports-dev/2011-August/015659.html Unifying Python Ports]
-[http://lists.macosforge.org/pipermail/macports-dev/2011-September/016189.html Python portgroup]
-
-PortGroup: [source:trunk/dports/_resources/port1.0/group/python-1.0.tcl]
+Mailing List archive: [https://lists.macports.org/pipermail/macports-dev/2011-August/015659.html Unifying Python Ports]
+[https://lists.macports.org/pipermail/macports-dev/2011-September/016189.html Python portgroup]
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/Python>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'Python' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list