System Python modules.
Alexander Hansen <[email protected]>
| Newsgroups | gmane.os.apple.fink.core |
|---|---|
| Organization | Fink Beginners |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/2/12 8:11 AM, Alexander Hansen wrote: > On 2/2/12 6:56 AM, Martin Costabel wrote: >> On 2/02/12 03:27, Alexander Hansen wrote: [] >>> It looks like mnemosyne really needs one to use the built-in >>> Python. We don't actually do modules for that because they're >>> not very compatible with Fink's approach of using a >>> self-contained directory structure. > >> I propose to use the directory >> /sw/Library/Python/x.y/site-packages/ > >> I have been doing this (surreptitiously and, according to the >> fink validator, illegally) for the pil-systempythonxy package for >> quite a long time. It works well, if one places Runtimevars: >> PYTHONPATH: %p/Library/Python/x.y/site-packages into the package >> description. > > > Let's take this to -core (especially as it's a fait accompli at > this point :-) ). > > Should we add %p/Library to the list of legal directories within > the Fink file hierarchy, for packages that build against the > system's toolkits? (I could envision %p/Library/Python, > %p/Library/Tcl, ...) > > I see no problems with setting PYTHONPATH within a wrapper script > for an executable, so such packages use that location for their > scripts shouldn't be a problem. > > I'm a bit concerned about having to set PYTHONPATH globally, > however, though it seems like there aren't any good alternatives. > This doesn't produce any interference with Fink's python packages? I've made my preference clear in a different thread for not ignoring the validator. Anyway, it'd be nice to come to a consensus here. My understanding is that pil-systempythonxy can break gildas at runtime, because the latter also relies on a PYTHONPATH setting. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8yy00ACgkQB8UpO3rKjQ86WACfVSf6Y3AoRgC0dfhOY0UNAnXQ 72QAn1XKkrZFyzh8yUfMdxdhWuH5HWHC =j5sK -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ fink-core mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.core Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-core