Changes between Version 6 and Version 7 of Python
- Timestamp:
- Sep 17, 2019, 4:48:16 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python
v6 v7 4 4 == Python in MacPorts == 5 5 MacPorts allows the installation of several different versions of python.[[BR]] 6 Versions 2.6 and later, however, are the primary focus of work.6 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. 7 7 8 8 == Frameworks == 9 Python is installed as [http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Frameworks.html Framework].[[BR]] 10 To maintain compatibility, however, python24 and python25 install as a hybrid Framework/Library installation (see #16334). 9 Python is installed as a [https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Frameworks.html Framework].[[BR]] 11 10 12 11 == Avoiding Conflicts == 13 12 Since MacPorts supports several different version of Python, conventions are adopted to ensure that there are no conflicts.[[BR]] 14 Ports which use the python PortGroups 15 ([browser:trunk/dports/_resources/port1.0/group/python24-1.0.tcl python24], 16 [browser:trunk/dports/_resources/port1.0/group/python25-1.0.tcl python25], 17 [browser:trunk/dports/_resources/port1.0/group/python26-1.0.tcl python26], 18 [browser:trunk/dports/_resources/port1.0/group/python27-1.0.tcl python27], 19 [browser:trunk/dports/_resources/port1.0/group/python31-1.0.tcl python31] 20 and 21 [browser:trunk/dports/_resources/port1.0/group/python32-1.0.tcl python32]) 13 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] 22 14 are automatically installed so as to avoid conflicts.[[BR]] 23 15 Other python packages must self-enforce conventions to avoid conflicts. 24 25 === Versions 2.4 and 2.5 ===26 * Header files are installed into ${prefix}/include/python${python.branch}.27 * Library files are installed into ${prefix}/lib/python${python.branch}.28 * Site-packages are installed into ${prefix}/lib/python${python.branch}/site-packages.29 16 30 17 === Versions 2.6 and Later === … … 53 40 Examples: r82756, r82241 54 41 55 Mailing List archive: [http://lists.macosforge.org/pipermail/macports-dev/2011-August/015659.html Unifying Python Ports] 56 [http://lists.macosforge.org/pipermail/macports-dev/2011-September/016189.html Python portgroup] 57 58 PortGroup: [source:trunk/dports/_resources/port1.0/group/python-1.0.tcl] 42 Mailing List archive: [https://lists.macports.org/pipermail/macports-dev/2011-August/015659.html Unifying Python Ports] 43 [https://lists.macports.org/pipermail/macports-dev/2011-September/016189.html Python portgroup]