From: William Scott <wgscott@hy...> - 2002-12-14 07:53:54
First thanks very much for making pyobjc. It looks to have great
potential, especially for people like me wherein python represents the
last best hope of ever writing any useful code.
I am an absolute beginner with this.
I fired up project builder and quicky realized that the python that
imports objc must not be the same as my fink python installation, that
has all the useful stuff I need like numeric, scientificpython, etc.
At least it can't find these.
Is there any simple way to get this to play nice with /sw/bin/python
and all its modules?
Many thanks, and I apologize in advance for what may be a series of
really stupid basic questions.
William G. Scott
Department of Chemistry and Biochemistry
and The Center for the Molecular Biology of RNA
University of California at Santa Cruz
Santa Cruz, California 95064
On Saturday, Dec 14, 2002, at 02:54 US/Eastern, William Scott wrote:
> Is there any simple way to get this to play nice with /sw/bin/python
> and all its modules?
Either hardwire the path in the bin-python-main.m to /sw/bin/python or
set the default PythonBinPath to point to /sw/bin/python
(for you, that could be 'defaults write -globalDomain PythonBinPath
/sw/bin/python' to set it across your machine.)
> Many thanks, and I apologize in advance for what may be a series of
> really stupid basic questions.
Not stupid -- there isn't any documentation!
Larger question: is there any reason why the various modules you have
built via Fink cannot be built against the Apple supplied Python 2.2?
What is the list of modules? For distribution purposes-- i.e. if you
wanted to create a standalone app that'll work on any 10.2.x machine,
it would be better to build against the system provided python 2.2.
Get latest updates about Open Source Projects, Conferences and News.