Re: Where to manually place extra python resources

2013-03-20 Thread Busser, Jim
On 2013-03-20, at 11:16 AM, Sterling Smith wrote: > Jim, > > I raised a similar question at some point about the possibility of a python > version of cpan2port, which would basically create a template portfile to do > an easy_install of the package in a MacPorts-aware way Given that what Jer

Re: Where to manually place extra python resources

2013-03-20 Thread Busser, Jim
On 2013-03-20, at 10:34 AM, Jeremy Lavergne wrote: > pip is the python package manager; if python's able to use packages in those > directories then manually putting something in there will be accessible, > regardless of MacPorts' involvement. > So just create the directories and try it? I ran

Re: Where to manually place extra python resources

2013-03-20 Thread Busser, Jim
On 2013-03-20, at 10:47 AM, Brandon Allbery wrote: > My /Library does contain Python 2.3 2.5 2.6 2.7 however despite that I place > the hl7 into > > /Library/Python/2.6/site-packages > > That path is owned by Apple and should only be used by Apple's preinstalled > Python. In particul

Re: Where to manually place extra python resources

2013-03-20 Thread Busser, Jim
On 2013-03-20, at 10:26 AM, Jim Busser wrote: > My ~/Library/ contains no Python My /Library does contain Python 2.3 2.5 2.6 2.7 however despite that I place the hl7 into /Library/Python/2.6/site-packages it does not get seen (maybe is not included) in / by the PYTHONPATH employed by

Re: Where to manually place extra python resources

2013-03-20 Thread Busser, Jim
On 2013-03-20, at 9:54 AM, Jeremy Lavergne wrote: >> An application written in python wants to import a python library not >> presently included among MacPorts' ports. > > I would just add it to MacPorts then. I have tried before to write a portfile (for a different package) and even with hin

Where to manually place extra python resources

2013-03-20 Thread Busser, Jim
Hi all, An application written in python wants to import a python library not presently included among MacPorts' ports. The library in question is hl7 which parses health care-related messages encoded in HL7 v 2.x and available from https://pypi.python.org/pypi/hl7/0.2.5 I have had suc

Re: Macports won't update under ML

2012-07-25 Thread Busser, Jim
On 2012-07-25, at 9:04 PM, cruddell001 wrote: > I updated to Mountain Lion today and ran sudo port selfupdate ... Here is > the output using the "-d" setting: > > pc:~ cruddell001$ sudo port selfupdate > Password: > ... > checking Xcode location... /Developer > checking Xcode version... 4.2.1