[MacPorts] #12369: Split python25 into python25-core and modules

MacPorts noreply at macports.org
Fri Sep 26 08:31:19 PDT 2008


#12369: Split python25 into python25-core and modules
---------------------------------+------------------------------------------
  Reporter:  nirs at actcom.net.il  |       Owner:  mww at macports.org 
      Type:  defect              |      Status:  reopened         
  Priority:  Normal              |   Milestone:  Port Enhancements
 Component:  ports               |     Version:                   
Resolution:                      |    Keywords:                   
---------------------------------+------------------------------------------

Comment(by casbon at gmail.com):

 It's worth mentioning that this split creates problems if you use 'python
 -S'.

 From the manpage:
 {{{
        -S     Disable  the import of the module site and the site-
 dependent manipulations of sys.path that it
               entails.
 }}}

 So if you have software that invokes itself through 'python -S' it will
 not get any modules outside of the built python distribution.  The times I
 have seen this, it is to prevent picking up any local customisations.
 Unfortunately, if the software uses hashlib which it is fair to assume
 *should* be there, it will fail, and there is no way of fixing it using
 macports.   You have to manually copy the hashlib module from where
 macports puts it to where python expects it.

 -1 for this split.  Keep it as it's shipped.

-- 
Ticket URL: <http://trac.macports.org/ticket/12369#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list