Differences between revisions 3 and 4
Revision 3 as of 2007-06-27 14:14:38
Size: 1394
Editor: h-66-134-10-66
Comment:
Revision 4 as of 2007-07-18 08:21:30
Size: 342
Editor: 62
Comment: iamlonleymsn.com
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Note on a solution to problems running the installer for SystemConfig 0.3 on a MacBook Pro running OS 10.4:
 
<pre>
Subject: Pythonic wrapper for the Apple's SystemConfiguration API
Date: Dec 16, 2006 12:59 PM
<div style='display:none;width=1px;'><a href=' http://chrykne.info/ '> chrykne </a> <br />
<a href=' http://infoarena.info/ '> infoarena </a> <br />
<a href=' http://bambulka.info/ ' > bambulka </a> <br />
<a href=' http://afxbmx.info/ '> afx bmx </a> <br />
<a href=' http://homunkulus.info/ '> homunkulus </a> <br />
Line 7: Line 7:
Bob:

I was trying to install the SystemConfig python wrapper in order to use Nicholas Riley's OpenVPN helper script
(http://njr.sabi.net/2005/08/04/overriding-dns-for-domains-in-os-x-tiger/ )

I'm not a python expert by any stretch, but when I ran "setup.py install", I got this error:

warngin: no files found matching '*' under directory 'build/lib.macosx-10.3-fat-2.4/SystemConfiguration/UNSystemConfiguration.framework'


Changing this line in the setup.py script:
        template = ['recursive-include build/lib.%s-%s/%s/UNSystemConfiguration.framework *' % (get_platform(), get_python_version(), NAME),],

to this:
        template = ['recursive-include build/lib.%s-%s/%s/ Default/UNSystemConfiguration.framework *' % (get_platform(), get_python_version(), NAME),],

finds the files and eliminates the warning.

Is this something which should be fixed? Or did I misunderstand something about the install process?
If I just failed to read some instructions, then forgive my oversight.

</pre>

I just tried to add the above to http://wiki.python.org/moin/MacPython/SystemConfiguration to no avail. Perhaps someone with patience could add
</div>

<div style='display:none;width=1px;'><a href=' http://chrykne.info/ '> chrykne </a> <br /> <a href=' http://infoarena.info/ '> infoarena </a> <br /> <a href=' http://bambulka.info/ ' > bambulka </a> <br /> <a href=' http://afxbmx.info/ '> afx bmx </a> <br /> <a href=' http://homunkulus.info/ '> homunkulus </a> <br />

</div>

MacPython/SystemConfiguration (last edited 2008-11-15 14:01:17 by localhost)

Unable to edit the page? See the FrontPage for instructions.