ou'll need to do that anyway.
Is there a reason you want to use Apple's Python?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (2
le hasn't enabled that.
Well, XCode, as a rule, does not support python that well. Nor does
Apple show any intention of opening up XCode so that good
language-specific modes could be written by third parties. So I suggest
you find another editor!
-Chris
--
Christopher Barker, Ph.D
ou install with setup.py,
make sure to run setup.py with the version you want. If you use
easy_install, it's a bit trickier. easy_install will use one of them by
default. I'm not entirely sure how to get it to use another python --
I'd have to poke around a bit on my Mac. Maybe someone el
Kenneth Miller wrote:
How can I build python to link to the OS X Tkinter libraries? That's
the ONLY reason I'm using the system python. I usually use the python
built by macports.
I'm pretty sure the build you get from python.org works fine with
Tkinter -- it is well integerated with OS-X
cports,
build-your-own, . Then you have PPC, and Intel, and it's really a mess.
Can't we all just agree on using the python.org one?
Oh well,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Po
is to work with C-coded extensions.
setuptools also often works:
$ easy_install ThePackageName
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115
md,))
ValueError: Unknown load command: 27
I think you need a newer macholib. I had hoped the would be updated in
the latest release version, but I guess not. try:
$ easy_install macholib==dev
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&am
Mike Keith wrote:
are my problems down to the fact that i'm using apple's python 2.5 to
build the .app?
yes.
if so, any advice on how to proceed?
Install the python.org python ,and use that to built your app -- it
should then run on all systems >= 10.3.9
-Chris
--
Chris
lder
that it creates.
Once you've got that, I'd search the web and the archives of this list
for examples of more complex apps -- adding application icon, etc.
Also, I think there are some examples distributed with Py2app.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Larry Meyn wrote:
FYI: The Apple provided python has an older version of numpy which is
difficult (and probably unwise) to update.
There are ways to work around that, but yes, that's one reason that
we're distributing binaries for the python.org build.
-Chris
--
Christopher Ba
t's under active development:
http://groups.google.com/group/peppy-dev?hl=en
and definitely headed in the right direction.
It'd be great to get some more Mac users on board...
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(20
there is not one already --
could be helpful for newbies like me.
Yes, it would. Just in case, I've posted this to the list, so it will be
in the archives.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600
ILES = ["VeraBd.ttf"]
OPTIONS = {'argv_emulation': True}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
py2app works fine for me.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Eme
ake it look to the system like it's in /usr/local/bin, but it
points to the original, so if you edit that, the edited version will be
run in the future.
do buy a book or surf the web for info about using the terminal on OS-X
-- it's a great skill to have.
-Chris
--
Christopher Ba
ckable. I even have the Alias Bundles for a
couple apps under development in my Dock for easy access.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle,
version, and had not updated its cache yet.
I'm run into this with icons - if you build a .app bundle with one icon
(or none), then re-build it with a new icon, the Finder often doesn't
show the new icon, reverting to the one it had cached.
Just a wild guess!
-Chris
--
Christoph
thon2.5:
Mach-O universal binary with 2 architectures
/Library/Frameworks/Python.framework/Versions/Current/bin/python2.5 (for
architecture i386):Mach-O executable i386
/Library/Frameworks/Python.framework/Versions/Current/bin/python2.5 (for
architecture ppc): Mach-O executable ppc
n to that
somewhere, it might act just like a command line app.
If you have a number of command line tools that rely on the same
packages, you could probably just copy the executable from one app
bundle to another.
I haven't tried any of this, though.
-Chris
--
Christopher Barker, Ph.
xplicitly
include the dabo package.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-
list, this sounds like a familiar
question. One idea is to make sure you're running py2app from a "clean"
location -- one where there is just your apps source code, and not
source from installed packages.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response
install -Z TheNameOfTheEgg
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[E
ll, macports, fink, etc...)
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[EMAIL PROTECTED]
_
:
... Converter.app/Contents/MacOS cbarker$ file Converter
Converter: Mach-O universal binary with 2 architectures
Converter (for architecture i386): Mach-O executable i386
Converter (for architecture ppc): Mach-O executable ppc
Are you building on the PPC machine?
-Chris
--
Christoph
get a self-contained application that should run
on 10.3.9 and above, PPC and Intel.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 5
olib dev
Downloading
http://svn.pythonmac.org/macholib/macholib/trunk#egg=macholib-dev
Doing subversion checkout from
http://svn.pythonmac.org/macholib/macholib/trunk to
/tmp/easy_install-l3o8mp/trunk
sh: line 1: svn: command not found
Processing trunk
error: Couldn't find a setup script in
ing the SVN version a try.
easy_install macholib==dev
don't know you to do that, sorry.
make sure you have easy_install:
http://peak.telecommunity.com/DevCenter/EasyInstall
then type:
easy_install macholib==dev
in the terminal.
(note: this may not be required with a recent version of py2a
ValueError: Unknown load command: 27
I've seen similar errors, which were fixed by updated macholib (used by
py2app):
easy_install macholib==dev
Ronald, is this still recommended?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R
x27;-fat-' eggs on 10.5
* /Applications/Python-2.5/IDLE.app
Did this ever get anywhere? In particular, the "-fat-" eggs issue keeps
coming, up, lately in matplotlib and enthought tools...
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/
(Universal Framework Build), you will get a Universal build, and it
should run on any Mac running OS-X 10.4 and above, and maybe even 10.3.9.
Sometimes things "just work"!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R
d the
Universal one. So we need to either:
1) Know it is a Universal build of Python, and thus look for, and finid,
a Universal binary.
2) Or accept a Universal binary when it is looking for either an Intle
of PPC version.
I like the first option better, but have no idea how all this works
y to download and build
the source.
Have I got that right?
Have you tried putting the binary up on pyPI with some of these
different names to see if it will find them?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-695
well.
the process is documented here:
http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes
Thanks, that does look easier than other ways I've seen it done. I'm
going to give it a try.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&
e.com/tools/download/
you need the whole thing, all 1GB or so of it!
Also, it should be somewhere on the Install disks that came with your
OS. It's an optional install.
I wish the had a command-line tools only installer, but I haven't seen that.
-Chris
--
Christopher Barker, Ph.D
s properly. You need the whole
development tool set.
The other option is to find binaries of the stuff you need. You should
be able to find IPython, but I don't know about PyCogent.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206)
.
Does this mean that Apple upgraded Python? That would be a first, and a
good sign.
However, an upgrade to python within the 2.5 series shouldn't break
*.pyc files, so I wonder what's up. Did they go 64 bit with the interpreter?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
amount of PyObjC traffic!
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[EMAIL PROTE
nicode tutorials, this is only
one of them:
http://www.reportlab.com/i18n/python_unicode_tutorial.html
there are other good ones.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand P
wxPython2.5.1.4, readline
and waste in there. I'm not sure what Python it when with. No Tkinter
though.
IIRC, Tk didn't work all that well back then, anyway, do you need to use
Tk? (wxPython never worked on OS-9, though).
This is an awful lot of work to support a pretty
system.
Come to think of it, it would be nice to have a "just replace the app
code" option to py2app -- it does take a long time to do the complete
rebuild.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-695
o get
binaries up on the PIL site), but I'm not sure when I'll finish that.
PS: and debugging my app, I've found that the
import xml.etree.cElementTree as cElementTree
cause crash on running app...
Does it crash when run outside the *.app bundle? or only when bundled?
-CH
honmac.org/packages/py25-fat/index.html
Also make sure you are running py2app with the python installed in
/Library, rather than Apple's one.
How big is your *.app?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-695
t my crystal ball doesn't work at the moment.
Yours is broken too? Yes, that would help -- I'm going to simplify
things and poke around a bit more, then I'll post the results here.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R
t has anything to do with it.
Anyway, do you suppose it is bringing in every egg I have installed?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98
lib/python2.5/site-packages/PIL
(if you only want to remove PIL)
/Library/Frameworks/UnixImageIO.framework/
/Library/Frameworks/FreeType.framework/
If you do remove all those, would you mind testing the .app again, just
to make sure?
Thanks for testing.
-Chris
--
Christopher Barker, Ph.D.
Oceanograp
right? I'm OK with that -- do your Frameworks support 10.3
anyway?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-63
k!
If they do, then we could build versions for Apple's Python 2.5 on OS-X
10.5, and maybe bundle up the Frameworks inside the PIL package
installer for one-click installation.
And do the same thing for Matplotlib, and ???
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Resp
this going to get into the released version of py2app soon? It would
be nice if this stuff worked "out of the box"
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 52
s worth, I
never implemented it, so I can't help beyond what's there.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317
I could just stick one app
inside another's Contents/Resources,
but then the user would never see the inner .app -- what's the point?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand P
uld be nice to blow away an older version with a newer version if
the older one is compatible. The installer can make the "update" optional.
can't the newer version and older version live side by side?
Anyway, I've almost got PIL tested, maybe you could make an installer
from it wi
s. Would you consider adding static libs to your
Frameworks so that we could at least tell distributor that they can just
install a couple Frameworks and have all the static libs they need?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R
[EMAIL PROTECTED] wrote:
make altinstall
maybe that's it -- I think the OP was running "install" rather than
"altinstall". What is altinstall supposed to do differently?
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/
One more,
How about libjpeg?
-Chris
Nathan wrote:
My guess would be yes.
$ locate *libpng* | grep -Ev 'opt|App|old'
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/libpng
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/libpng/png.h
--
Christopher Barker, Ph.D.
Oceanographer
Ronald Oussoren wrote:
Looking at sys.prefix is better than sys.executable.
great, thanks. much better.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle
Hi all,
sys.platform returns "darwin" for all of the various python builds on
OS-X. I"d like to know if I"m running a framework build, or fink, or
macports, or whatever build -- is there a runtime way to do that?
Is looking at sys.executable the best(only?) way?
-Chri
ur lives easier eventually.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main receptio
mes, or having multiple versions
installed. In fact, I think you could build a *.mpkg that had both your
python package and the frameworks it needs, so that users would have a
one download and one click install. It wouldn't hurt to have multiple
packages with the same Frameworks installed thi
ne, as long as you only
need to deploy on Leopard (though I'd make sure to test on both PPC and
Intel, if you do need to support both). Be aware, however, than Apple
has always replaced python with a new version with OS upgrades, so your
app bundle may not work on future versions of OS-X.
-Chris
bother.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[EMAIL PROTECTED]
___
Pyt
Kevin Horton wrote:
> I have two scripts - the
> program is started by running the GUI script, which calls wx, and
> sets up the whole GUI. This script imports another script, which
> holds all the functions that perform the calculations that are the
> whole purpose of this application. T
> install -m 444 * ${distdir}/share/ghostscript/fonts
Does PIL usually come with these fonts? how critical is this?
Again, tiff isn't listed as a PIL dependency .
I sure wish Apple would provide a bit more of this stuff -- I now have
libjpeg, libpng, and libtiff in a half a dozen differen
et
> this working all in python,
py2app would have done that, though I'm still confused as to why
pythonlauncher didn't work for you.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way
Ronald Oussoren wrote:
> On 5 Apr, 2008, at 1:40, Christopher Barker wrote:
>> Can we build a single binary installer for PIL that will work with BOTH
>> Apple's Python2.5 that comes with OS-X 10.5 and MacPython2.5, Universal
>> Framework Build for OS-X 10.3.9 and abov
-in python if
that's what you're using, so I think it's the "right" way to do it.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattl
here may be a message there.
> i will look into it tomorrow an try to build up everything step by step.
> Is there a log or something automatically written with the python errors
> of the app? If not how can I achieve this?
They should show up in Console.app. It should be in Applications/Uti
#x27;t:
Report back what you get, and be sure to include:
Your script
Your setup.py
Your OS-X version
Your Python version (where you got it, how you installed it)
Your py2app version
Your PIL version (where you got it, how you installed it)
-Chris
--
Christopher B
e great if
we could do it with one installer.
Next in line would be MacPython2.4, I think, but I notice that the
package on pythonmac.org/packages is out of date, so there must not be
too much demand.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R
e that it's not really
> still picking up my locally installed wx libs behind the scenes,
well, it should be close to 40 MB -- yes, that's huge, but you've got
all of Python, all of wxWidgets and wxPython, all as Universal.
-Chris
--
Christopher Barker, Ph.D.
Oceanogr
ported wx, py2app should pick
that up, and the wx recipe should "do the right thing" -- it's always
worked for me. Try it without specifying that package.
Let us know how it works out...
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emerg
the
truth is that you'd really need to test on a Mac anyway, so there is
little point.
If you have users on a Mac, you'll be best off finding a couple of them
that don't mind being on the "bleeding edge" and testing stuff for you,
including running py2app.
-Ch
rnal relocation length
If I delete the old *.app, and build again it works fine, so it's easy
to work around, but this does smell like a bug.
OS-X 10.4.11
MacPython 2.5.1
wxPython 2.8.7
py2app 0.3.6
macholib dev version as of 3/27/08
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
the "macPython" build of
python2.5 (which you can get from python.org) should work on OS-X 10.3.9
and above. I have no idea what version of PyObjC you can use.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (
he solution. The Python.org build should bundle up and work
on all OS-X 10.3.9 and up systems, PPC and Intel.
You'll have to make sure you get all your needed modules installed into
that python as Universal too.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Divisi
7
>
/Users/cbarker/HAZMAT/SmallToolsSVN/phCalculator/trunk/build/bdist.macosx-10.3-fat/egg/macholib/MachO.py(178)load()
Enclosed is about the simplest matplotlib script, and a test_setup
script to py2app it -- anyone have any ideas?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
H
environment variable. Rather, it adds them to sys.path, which is
python's internal path for looking for modules:
> import sys
> print sys.path
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
led as an egg that you could install the old-fashioned
way instead.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA
ding a #! line, and who knows where the README may be for
an installed script)
Personally, I'd really like to see versioning somehow built into python
itself (and python packages -- eggs solve some of this), then you could
distribute a script that could declare which versions of python a scri
(all on one line, of course):
or change the #! line to the one you want:
#!/usr/local/python2.5
or
#!/Library/Frameworks/Python.framework/Versions/2.5/bin/python
I like to do that anyway with production code, as it makes it clear
which python the script was tested against.
-Chris
--
Chr
r vversion...
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[E
#x27;s good idea,
though more an more package maintainers are supporting OS-X themselves
these days.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115
exactly what you did, and what
happened.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206
how mature it is. It does work well with TK, GTK, wx
and QT.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
. Tell us what happens when you try it.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 m
the default encoding
oh well, I'm really just whining, but this transition to unicode is
pretty painful!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seat
rint(object):
sys.stdout.write(unicode(object).encode(TerminalEncoding))
sys.stdout.write("\n")
but print is a statement, rather than a function, so I don't know how to
do that. I may start using a utility function like that for my code, though.
-Chris
--
Christopher Barker, Ph.D.
t encoding
that str() uses -- or at least change it to "replace" or "ignore" mode.
Boy, I'm looking forward to all-unicode, all the time.
Thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Div
unicode savy, so you'd think I
should be able to do this. Indeed, if I go to setting, I see that under
display, it's set to UTF-8. So how to I get Python to convert to utf-8
with a print statement, instead of ascii?
thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
r
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[EM
een a set of gages and what not widgets for QT too- ut can't find
them with a quick google.
As for graphs, Matplotlib is a good bet -- it works with wx, gtk, qt and tk.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600
ould
be built -- it's got good separation of functionality from UI, but there
is only a wx UI at the moment -- I don't think he has plans for a
console version.
-Chris
PS: Peppy is the only editor other than (X)emacs that has a python mode
that does indentation right.
-Chris
--
type anything in someone else's Emacs, for
> example),
I agree -- I found the default emacs bindings painful enough that I've
added my own, but now I can hardly use emacs if I don't have my own
config for it.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency
Robin Dunn wrote:
> Christopher Barker wrote:
>> On the Mac, the default behavior should be for "command" to do
>> everything that "control" does on Windows and Linux, and "control"
>> should do nothing. The alt(option) key should do the same
ges. I urge you to give it a try.
http://peppy.flipturn.org/
getting the SVN version is probably your best bet. I just added a
setup_mac.py file that you can build an alias application bundle with:
python setup_mac.py py2app -A
I haven't yet tested a full app bundle, but it works pretty we
on_process = False
option in py2app. I'm not going to write it though!
thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115
ication",
author="NOAA Emergency Response Division",
author_email="[EMAIL PROTECTED]",
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
Thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
E
es zip -- WITH the same package structure (in this case,
cameo.model. was there, with other modules, just not this one.
Anyway, the solution for now is just to put a:
import cameo.model.reactivity
line in one of the main modules of the app, so now py2app is finding it.
It seems there should be a
e to do.
Also, while it mostly works with the app bundle, I am having some
trouble with the durus database, which uses pickles -- I think it's
having trouble finding the modules it needs to unpickle some stuff. I'll
need to dig into this deeper, but it seems maybe I'm just not doin
for you. The latest version of the SWIG
docs has instructions:
http://www.swig.org/Doc1.3/Python.html#Python_nn6
Or look at various distutils instructions.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959 voice
7600
d
3) bdist_mpgk (or whatever the setuptools command is to build a binary egg)
> and the second one doesn't
> really become important until such fat eggs become widely available
> (which they are not right now, IIRC).
I don't know how you define widely, but they are becoming av
tutils issue effects you in two ways --
1) it's really not that rare to have to compile things -- and maybe you
want to use py2app to distribute something.
2) You want binaries from someone else, and they aren't right, because
they compiled them with Apple's python.
Anyway, I
301 - 400 of 660 matches
Mail list logo