Changes between Version 5 and Version 6 of Python
- Timestamp:
- Feb 17, 2013, 11:43:33 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python
v5 v6 12 12 == Avoiding Conflicts == 13 13 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 [http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/python24-1.0.tcl python24], 16 [http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/python25-1.0.tcl python25], 17 [http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/python26-1.0.tcl python26], 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] 18 20 and 19 [ http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/python31-1.0.tcl python31])21 [browser:trunk/dports/_resources/port1.0/group/python32-1.0.tcl python32]) 20 22 are automatically installed so as to avoid conflicts.[[BR]] 21 23 Other python packages must self-enforce conventions to avoid conflicts. … … 43 45 For Python version 2.5 and later, the option --no-user-cfg has been added to allow this file to be ignored. 44 46 45 == 64-bit support ==46 Python 2.6, 2.7 and 3.1 support 64-bit universal builds (see #16349). Non-universal python (all versions) will be 64-bit when built on Snow Leopard running on a 64-bit CPU.47 48 47 == Converting to the unified python PortGroup == 49 Lately (summer 2011) a new unified python PortGroup has been introduced to simplify the maintenance of py{25,26,27}-XXXXports.48 As of July 2011, a new unified python PortGroup has been introduced to simplify the maintenance of Python module ports. 50 49 It uses subports to keep a single Portfile for all versions of python. 51 50 52 51 Look at the examples to know how to convert to it... 53 52 54 Examples: [changeset:82756],[changeset:82241]53 Examples: r82756, r82241 55 54 56 55 Mailing List archive: [http://lists.macosforge.org/pipermail/macports-dev/2011-August/015659.html Unifying Python Ports]