Re: [Pythonmac-SIG] Error with mimetype on OS-X 11 (Big Sur)

2022-01-07 Thread Christopher Barker
equired in it. > > > > I think, on startup, it loads a empty default project, presumably > "default_project.maproom" > > > > So I think that's where the app startup code is barfing, not having the > mime type registered properly. But where / how am I supposed to do that? > &g

Re: [Pythonmac-SIG] Problems building a binary from cpython that can be installed in /Users/{USER}/Library

2021-11-14 Thread Christopher Barker
========= > > > Paul Romer > p...@paulromer.net | paulromer.net | @paulromer > <https://twitter.com/paulmromer?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor> > >

Re: [Pythonmac-SIG] py2app: Can successfully create app with alias mode but version built for deployment returns an error message

2021-06-17 Thread Christopher Barker
shb...@mail.gvsu.edu > 616.331.2040 > 616.331.3120 (fax) > ___ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Python

Re: [Pythonmac-SIG] "pythonw" in a Unix build

2021-01-18 Thread Christopher Barker
k -- "just" some new build scripts. Anyway, if the folks that want this do the work, it looks like it can happen, and if not, then I guess we won't get it. Fair enough. -Chris On 18-Jan-2021, at 18:38 , Christopher Barker wrote: > > On Mon, Jan 18, 2021 at 1:34 AM Ronal

Re: [Pythonmac-SIG] "pythonw" in a Unix build

2021-01-18 Thread Christopher Barker
any of you have autoconf expertise and the inclination, I'd love to see this get done, and would be glad to help as best I can. -CHB -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Dev

Re: [Pythonmac-SIG] "pythonw" in a Unix build

2021-01-14 Thread Christopher Barker
uild. > > I *think* there are no real technical show stoppers, but it would take > some auto-conf magic, which I am fully unqualified to take on. > > Anyone interested in helping make this happen ? > > -CHB > > > -- > > Christopher Barker, Ph.D. > Oceanographe

Re: [Pythonmac-SIG] Using Python on Mac

2020-12-30 Thread Christopher Barker
; > ___ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > -- Christopher Barker, PhD Python Language Consulting

Re: [Pythonmac-SIG] py2app questions

2020-12-15 Thread Christopher Barker
with @rpath and @loader_path is lost before the code that > should use the information is active. I have rewriting that code on my too > long todo list. > > > > Note that this works for me, with the Python.org installation of Python. > > Many thanks, > Tim > >

Re: [Pythonmac-SIG] Building plans .....

2020-03-18 Thread Christopher Barker
should be built in a way that’s appropriate for those users. I have been happy use the python.org builds and py2app + PyQt5. > Exactly— I’m not suggesting anything change for folks like you. -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software

Re: [Pythonmac-SIG] Building plans .....

2020-03-16 Thread Christopher Barker
onda folks decided not to do that in the first place, but they didn't, and no one seems to want to do it now. I suppose I could set it up and submit a PR and see what folks think, but the big question is: what does a Framework Build by conda? ANd I think the answer is nothing, except that we al

Re: [Pythonmac-SIG] Building plans .....

2020-03-16 Thread Christopher Barker
rpreter, you are managing all the the dependencies anyway. Now someone just needs the time to do it :-( -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython ___

Re: [Pythonmac-SIG] Building plans .....

2020-03-15 Thread Christopher Barker
ll see. Maybe there's no one that both wants this done and has the time and skills to do it -- such is the world of open source. -CHB > Ronald > > — > > Twitter: @ronaldoussoren > Blog: https://blog.ronaldoussoren.net/ -- Christopher Barker, PhD Python Langua

Re: [Pythonmac-SIG] Building plans .....

2020-03-14 Thread Christopher Barker
e well suppoted by essentially a standard *nix build, but with the executable redirecting to inside an app bundle trick. That would also work fine for the "Unix folks" -- for brew and the like. The only question I'm not sure on is if it would work for the p

Re: [Pythonmac-SIG] Building plans .....

2020-03-14 Thread Christopher Barker
works for python.org builds, though I don't know if he decided not to make that change, or simply hasn't gotten around to it. -CHB References to Discussions: https://github.com/conda-forge/python-feedstock/issues/23 > Jack > > On 14-Mar-2020, at 14:54 , Ronald Oussoren > wr

Re: [Pythonmac-SIG] Building plans .....

2020-03-13 Thread Christopher Barker
t building into the GUI toolkits? Do you have a reference to that API? -CHB Ronald > — > > Twitter: @ronaldoussoren > Blog: https://blog.ronaldoussoren.net/ > > > -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development

Re: [Pythonmac-SIG] Building plans .....

2020-03-12 Thread Christopher Barker
you couldn't build a app that way. By the way, it's great to "see" all you from back in the day -- this has been a very quiet list lately! -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web D

Re: [Pythonmac-SIG] Building plans .....

2020-03-11 Thread Christopher Barker
stalled that way. If that can be done by the app store, great. >> The problem is that I *really* don't have the autoconf skills to do that! > > But I'm hoping with some prodding and show of support, someone with take > it on :-) > > > I won’t, finding time to work on Py

[Pythonmac-SIG] Building plans .....

2020-03-09 Thread Christopher Barker
n that builds Intel, 64bit, fairly recent SDK, and the pythonw hack, into an otherwise "standard" unix-like build. Then that could become the default OS-X build in the future, exactly when TBD. The problem is that I *really* don't have the autoconf skills to do that! But I

Re: [Pythonmac-SIG] Python bindings for Metal?

2018-06-07 Thread Christopher Barker
subscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython ___ Pythonma

Re: [Pythonmac-SIG] Problem with pip

2018-01-18 Thread Christopher Barker
been long enough since 10.11. > > On the actual topic: If one explicitly needs some build-time details to be > specific, one can just build the egg oneself. Otherwise whatever pip pulls > in and is working is good enough for the job. > > -- > Joni Orponen > > [1] https://

Re: [Pythonmac-SIG] PyObjC - Apple sample code

2017-04-28 Thread Christopher Barker
> > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > > https://mail.python.org/mailman/listinfo/pythonmac-sig > > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > ___

Re: [Pythonmac-SIG] [Pyobjc-dev] PyObjC and macOS 10.12 (Sierra)

2016-12-15 Thread Christopher Barker
onald Oussoren wrote: > > On 15 Dec 2016, at 17:34, Christopher Barker wrote: > > > On Thu, Dec 15, 2016 at 12:59 AM Ronald Oussoren > wrote: > >> >> > Frameworks have the nice feature that everything related to the >> framework is stored in a single location

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-14 Thread Christopher Barker
At All. Anyway, it should be easy to see how well the new wheels work with conda -- and/or make a conda recipe -- maybe I'll get to it soon. -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Christopher Barker
Personally, I have avoided all this mess the last couple years by using conda (miniconda install). It does a nice job of keeping entirely separate from the system ( or any other) python, and it can manage non-python libs as well, so you don't need Brew. And it has environments that are like virtual

Re: [Pythonmac-SIG] Need help with Python Library link error in OS X 10.11.6

2016-12-13 Thread Christopher Barker
The configure script should come with the source. It is specific to that particular package, not a system script. But brew should do that for you anyway. I have no idea what Appium is, but it looks like it depends on Python -- you probably neeed to install the brew version of Python first. I wou

Re: [Pythonmac-SIG] OS X 10.7 Lion, py2app 0.6.3, argv-emulation, wxPython

2011-08-02 Thread Christopher Barker
ad.php#unstable So it's coming soon, and the more people that test it now, the 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, WA 98115

Re: [Pythonmac-SIG] Python for Tiger PPC I found your wonderful page at that has numpy and PIL for Tiger, which I can't find anywhere else, but I'm

2011-07-25 Thread Christopher Barker
Russel Owen (on this list) has built PIL binaries and posted them on a site of his -- it's not a very public site, but some googling (or searching this and/or the PIL list) should find it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&

Re: [Pythonmac-SIG] python characters on a mac?

2011-06-29 Thread Christopher Barker
Karsten Wolf wrote: Try this. Assuming your text file was encoded in UTF-8. Read the docs about unicode and encoding. exactly. Read this: http://www.joelonsoftware.com/articles/Unicode.html and then this: http://boodebr.org/main/python/all-about-python-and-unicode -Chris -- Christopher

Re: [Pythonmac-SIG] py2app: unknown required load command 0x800000022

2011-06-22 Thread Christopher Barker
rized it works all, actually! ) The python.org builds are easy to use, install, and what py2app is mostly targeting and most tested with. I"m not sure of the state of binaries for pyQT, but they have certainliy existed in the past, and numpy is no problem. -Chris -- Chri

Re: [Pythonmac-SIG] Getting an Error When Running App built with Py2app

2011-06-13 Thread Christopher Barker
hon. I now get import error: no module named appkit I think you need to install PyObjC for the python.org python to get appkit (though I'm no expert there). Do you really need both appkit and wxPython? You may well, I'm sure I'm showing my ignorance here. -Chris -- Christop

Re: [Pythonmac-SIG] Getting an Error When Running App built with Py2app

2011-06-09 Thread Christopher Barker
I'd install the python from python.org, and try again with that. It's probably what you ultimately want 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 Sea

Re: [Pythonmac-SIG] Getting an Error When Running App built with Py2app

2011-06-08 Thread Christopher Barker
trying, and encouraged others to do the same. That experience may be the result of bugs that no longer exist. OTOH, if, indeed, using the system python results in a smaller bundle that works just fine on all versions of OS-X >= to the one it was built on -- that could be really nice and us

Re: [Pythonmac-SIG] Getting an Error When Running App built with Py2app

2011-06-08 Thread Christopher Barker
on (it can't include python itself) That should be "is really *NOT* expected to work right...". :) oops, yes, that is what I meant! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Poin

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Christopher Barker
the entirety of the "build" and "dist" directories and re-run py2app -- sometimes left over cruft gets in the way when you change things. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand

Re: [Pythonmac-SIG] improving interactivity in scripts

2011-05-05 Thread Christopher Barker
use a dialog, but if you have some common ones you use, a few utility functions are easy to whip up. It's usually used for full-on event driven GUIs, but I've enclosed a sample of using dialogs in a procedural, or script-like program. -Chris -- Christopher Barker, Ph.D. Oceanog

Re: [Pythonmac-SIG] why does the Mac installer hack the user's .bash_profile?

2011-04-07 Thread Christopher Barker
.mpg bundle. I don't think I've ever seen one with a uninstaller, as a matter of fact. -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

Re: [Pythonmac-SIG] Simple PyObjC question: real or vapor?

2011-04-06 Thread Christopher Barker
ironed out, it should take us well into the future on the Mac. -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)

Re: [Pythonmac-SIG] Simple PyObjC question: real or vapor?

2011-04-06 Thread Christopher Barker
option, though. Probably not as good as pyObjC for Mac-only stuff, but it's great for multi platform development, and does work quite well on OS-X. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 San

Re: [Pythonmac-SIG] Problem with py2app 0.6

2011-03-30 Thread Christopher Barker
for application specific resources, rather than package-specific. -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

[Pythonmac-SIG] Fwd: Re: py2app and stripped os.environ

2011-03-15 Thread Christopher Barker
Re-posting -- for some reason this didn't seem to show up in the list. -Chris Original Message Subject: Re: [Pythonmac-SIG] py2app and stripped os.environ Date: Tue, 15 Mar 2011 13:09:28 -0400 From: Ronald Oussoren To: Christopher Barker CC: pythonmac-sig@python.org

Re: [Pythonmac-SIG] py2app and stripped os.environ

2011-03-15 Thread Christopher Barker
I don't know if that's a robust way to do it or not. If nothing else, it assumes that the user's default shell is bash, which is common, but not guaranteed. so: 1) is there a better way to accomplish this task? 2) if so, does it make sense to built it into py2app as an option

Re: [Pythonmac-SIG] Framework Python and X11

2011-03-10 Thread Christopher Barker
uld he just add the framework flag and be done? -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 ch

[Pythonmac-SIG] Scientific Software developer wanted in Seattle.

2011-03-08 Thread Christopher Barker
b ID: 179178 NOTE: This is a potion being hired by GDIT to work with NOAA, so any questions about salary, benefits, etc, etc should go to GDIT. However, feel free to send me questions about our organization, working conditions, more detail about the nature of the projects etc. -Chris -- Ch

Re: [Pythonmac-SIG] C++ ABI 1002/102 incompatibility with wxPython on OS X

2011-03-01 Thread Christopher Barker
On 3/1/11 1:58 PM, Christopher Barker wrote: When I look at the one in : /usr/local/lib/wxPython-unicode-2.8.11.0/lib/ (which I got from a wxPython binary), I get: $ cat libwx_macud-2.8.0.dylib | strings | grep ABI 2.8 (debug,Unicode,compiler with C++ ABI 102,wx containers,compatible with 2.6

Re: [Pythonmac-SIG] C++ ABI 1002/102 incompatibility with wxPython on OS X

2011-03-01 Thread Christopher Barker
Apple's wx, by accident, or are you using a newer wxPython than 2.8.11 ? -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

Re: [Pythonmac-SIG] py2app with wxpython

2011-02-17 Thread Christopher Barker
es': 'wx' you don't need to specify the wx package -- if there is an "import wx" in your code, py2app will find it. ,'site_packages': True And I don't remember what this does -- try taking it out and see what you get. -Chris -

Re: [Pythonmac-SIG] py2app -> .app size is too big

2011-02-16 Thread Christopher Barker
: 9.1MB minimal wxPython app: 43MB But the wxPython one does compress down to 17MB wxPython is so big because it has all of the wx C++ libs, plus all the wrapper code to access it. It is unfortunately pretty monolithic, so it's very hard to bring in just what you need. But disk space is chea

Re: [Pythonmac-SIG] Mac and Python (absolute begineer)

2011-02-10 Thread Christopher Barker
using directions about that on some sites -- so make sure to use ditutils to build -- i.e. write a "setup.py". That's the best way to do it on other platfroms anyway. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 52

Re: [Pythonmac-SIG] Some test code

2011-02-03 Thread Christopher Barker
http://mail.python.org/mailman/listinfo/tutor -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 chris.bar...

Re: [Pythonmac-SIG] Determining if I need an import

2011-01-27 Thread Christopher Barker
://pychecker.sourceforge.net/ It'll likely find other stuff you want to know about as well. -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)

Re: [Pythonmac-SIG] C++ ABI 1002/102 incompatibility with wxPython

2011-01-27 Thread Christopher Barker
, and I've tried all the switches that looked like they might have something. You'd think it would, though -- maybe I missed something. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way

Re: [Pythonmac-SIG] py2app not including /Library/Python/2.6/site-packages

2011-01-25 Thread Christopher Barker
e. It is probably shortsighted. Given everything, installing a python.org version of python might make things more consistent and easier. I think so -- and yes, it's one more install, but it's a pretty darn easy one. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency R

Re: [Pythonmac-SIG] C++ ABI 1002/102 incompatibility with wxPython

2011-01-25 Thread Christopher Barker
n a given binary was compiled against? -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

Re: [Pythonmac-SIG] C++ ABI 1002/102 incompatibility with wxPython

2011-01-25 Thread Christopher Barker
that will be best. -- take a look in the generated app bundle -- it's just a directory -- you can see what's in there, and it will give you a clue. What about path settings ?? py2app should take care of that, but looking at sys.path will let you know if it's doing it "

Re: [Pythonmac-SIG] py2app not including /Library/Python/2.6/site-packages

2011-01-24 Thread Christopher Barker
y: 1) adding the extra stuff in as required packages in your setup.py or 2) writing some post-flight code into your setup.py that copies what you need into the app bundle --it's just a well-structured directory, after all. good luck! -Chris -- Christopher Barker, Ph.D. Oceanographer E

Re: [Pythonmac-SIG] Python development on OSX

2011-01-21 Thread Christopher Barker
nt to support other platforms, wxPython or pyQT is the way to go. (pyGTK is so non-native on the Mac I wouldn't consider it, and I don't think pyGUI is very mature yet) (the binaries for wxPython work with both the Apple and python.org builds -- 32 bit only for the moment) -Chris

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-20 Thread Christopher Barker
t;cd the/full/path/to/setup; python setup.py install) -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

Re: [Pythonmac-SIG] Python development on OSX

2011-01-20 Thread Christopher Barker
declare the python.org builds as the "official" ones and try to get third party projects to build binaries for them If you need help with macports, ask on a macports list, etc. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] Python development on OSX

2011-01-19 Thread Christopher Barker
??? are available as nifty easy to use installers? There really aren't very many people for whom "build it from source" is the best option. Final NOTE: It's great that Bill takes this approach -- he's gotten things working and helped others a lot -- someone'

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Christopher Barker
are installing into the app bundle (cool idea!), then you'll need to make sure that USER_BASE and USER_SITE are set correctly at run time for where the user happens to have put the py2app bundle. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NO

Re: [Pythonmac-SIG] Python development on OSX

2011-01-18 Thread Christopher Barker
ication from an installed python.org build. You sure would if you put it in the same place as Apple's but the installers don't do that. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Poin

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Christopher Barker
need, the question is how to get them properly into the py2app bundle. -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

Re: [Pythonmac-SIG] Popen and py2app

2010-12-27 Thread Christopher Barker
k you could specifically search for the utility in places it might be expected to be found: /usr/bin /usr/local/bin /sw/... (for fink) /opt/... (for macports) rather then expect it to be on the PATH. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] 2.7.1 build?

2010-11-29 Thread Christopher Barker
On 11/29/10 10:15 AM, s...@pobox.com wrote: Drop the ".0" and I think you've got it: http://www.python.org/download/releases/2.7/ yup -- thanks Richard and Skip -- thank god for restfull urls! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Divisio

[Pythonmac-SIG] 2.7.1 build?

2010-11-29 Thread Christopher Barker
2.7.1 builds, or at least a link on the python.org site somewhere obvious for the 2.7.0 builds! -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

Re: [Pythonmac-SIG] Amateur question about modules

2010-11-04 Thread Christopher Barker
t does. -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 ch

Re: [Pythonmac-SIG] If/else vs or

2010-10-29 Thread Christopher Barker
6]: subset = ['red','green','blue','purple'] In [17]: [c for c in colors if c in subset] Out[17]: ['red', 'green', 'blue'] (so much for one obvious way to do it!) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergenc

Re: [Pythonmac-SIG] py2app on linux

2010-10-28 Thread Christopher Barker
efully find one that will let you use their machine to build binaries. -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-631

Re: [Pythonmac-SIG] py2app on linux

2010-10-15 Thread Christopher Barker
On 10/15/10 6:49 AM, Daniel O'Donovan wrote: But Freeze may be of interest to you : http://wiki.python.org/moin/Freeze or even PyInstaller http://www.pyinstaller.org (though I don't use either)... or bbFreeze. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Respons

Re: [Pythonmac-SIG] py2app on linux

2010-10-15 Thread Christopher Barker
ent on any OS-X specific libs? BTW. While it is possible to tweak py2app to do its work on a Linux box I'm not interested in doing the work. Frankly, I don't see it as worth the effort. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] swig example on mac osx 10.6.4

2010-09-17 Thread Christopher Barker
cked_New in example_wrap.o _SWIG_Python_newvarlink in example_wrap.o "_PyExc_NameError", referenced from: _swig_varlink_getattr in example_wrap.o _swig_varlink_setattr in example_wrap.o "_PyInstance_Type", refere

Re: [Pythonmac-SIG] bdist_mpkg issues

2010-09-16 Thread Christopher Barker
rs. well -- I don't think it does all that much, and the only tricky part should be what's also used in py2app, so it may not be that bad. I suspect the problem is with binary libs, not with bdist_mpkg. -Chris Regards, -- Russell On Sep 16, 2010, at 2:06 PM, Christopher Barker wrot

Re: [Pythonmac-SIG] bdist_mpkg issues

2010-09-16 Thread Christopher Barker
that? -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 chris.bar...@noaa

Re: [Pythonmac-SIG] Trials with building app

2010-09-13 Thread Christopher Barker
et.org/ronaldoussoren/altgraph I have disabled the wiki for now, but did enable the issue tracker. and my symlink isn't helping as much as I thought it was. Using main-fat as main-i386 will generate a working app, though. glad to hear it! -- Christopher Barker, Ph.D. Oceanographer E

Re: [Pythonmac-SIG] Trials with building app

2010-09-13 Thread Christopher Barker
see the output when it runs) Does this work for you? Note that is puts _sha265.so in: hashlib_test.app/Contents/Resources/lib/python2.6/lib-dynload Maybe not much help, but you know you aren't alone... -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division

Re: [Pythonmac-SIG] How do you tell the system which version to use ?

2010-08-22 Thread Christopher Barker
hat which version of python it used would be set at build time. Python 2.3 was delivered with OS-X 10.4 -- perhaps your scribus binary was set up to use that? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voic

Re: [Pythonmac-SIG] [Pyobjc-dev] Py2app too complex?

2010-08-03 Thread Christopher Barker
id he couldn't use py2exe's code for including the icon because of licensing, but it looked like the license was compatible to me. With a little encouragement, maybe he'd be glad to share more. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA

Re: [Pythonmac-SIG] py2app error

2010-08-03 Thread Christopher Barker
e specified by the caller. yup. Maybe not worth it. I haven't looked at the ctypes code yet. I would be worth it if it can be done with little effort, but not when it requires major engineering. If you can find the time, that would be great! Thanks again for all your work in this. -Chri

Re: [Pythonmac-SIG] py2app error

2010-08-01 Thread Christopher Barker
that ctypes looks in this special location before looking at the full name specified by the caller. yup. Maybe not worth it. Actually finding which libraries are loaded using ctypes will sadly enough be impossible in general, although recipes could be used for the popular libaries. Agree

Re: [Pythonmac-SIG] Py2app too complex?

2010-08-01 Thread Christopher Barker
a I-don't-care-how-big-it-is-I-just-want-it-to-work version, you could use a superset of runt-time and source-code analysis. I do want to be clear that py2app has been the best bundle builder I've used, and I really appreciate Ronald's effort to bring it up to speed again. -C

Re: [Pythonmac-SIG] py2app error

2010-08-01 Thread Christopher Barker
the user could specify which libs ctypes used, and py2ap would put them in the bundle. -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)

Re: [Pythonmac-SIG] py2app and python versions

2010-07-26 Thread Christopher Barker
tting things done, it shouldn't be too big a deal to do it -- it's easier to port code to a newer python than an older one. Thanks so much for working on this. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 vo

[Pythonmac-SIG] py2app trunk buglet

2010-07-23 Thread Christopher Barker
ems to have fixed 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 main reception chris.bar...@noaa.gov In

Re: [Pythonmac-SIG] py2app updates

2010-07-23 Thread Christopher Barker
Christopher Barker wrote: Hi folks, I'm trying to test the latest py2app updates. However, easy_install is failing in a number of places. I'm trying: easy_install py2app==dev but get errors in the modulegraph dependency. It looks like somehow pypi doesn't know about modu

[Pythonmac-SIG] py2app updates

2010-07-23 Thread Christopher Barker
ing away, and maybe do a straight non-setuptools install, but it would be nice if this could get cleaned up. I'm a bit lost when it comes to setuptools, so I'm not sure I can work out a patch. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/O

Re: [Pythonmac-SIG] py2app testing modulegraph

2010-07-22 Thread Christopher Barker
He's been pretty responsive on his list. By the way -- he did post on this list at one point looking for volunteers to work on the Mac version of bb-freeze, and I don't think he got any takers. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NO

Re: [Pythonmac-SIG] py2app testing modulegraph

2010-07-21 Thread Christopher Barker
Ronald Oussoren wrote: modulegraph should be platform independent indeed -- it's used by bbfreeze: http://pypi.python.org/pypi/bbfreeze/0.96.5 Though I think he's forked it. But it might be good to get in touch and see if he's got patches to integrate. -Chris -- Christoph

Re: [Pythonmac-SIG] Future 64-bit installers

2010-07-19 Thread Christopher Barker
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 chris.bar...@noaa.gov ___ Pyth

Re: [Pythonmac-SIG] py2app problem: invalid matplotlib recipe

2010-07-12 Thread Christopher Barker
on of MPL you need it for. -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 chris.bar...@noaa.gov __

Re: [Pythonmac-SIG] [Image-SIG] PIL binaries -- please test

2010-06-06 Thread Christopher Barker
7;s generally the preferred distribution format, zip or dmg? I suppose dmg is a little better, but either one is fine. Thanks for all this work! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point

Re: [Pythonmac-SIG] [Image-SIG] PIL binaries -- please test

2010-06-05 Thread Christopher Barker
Matthias Baas wrote: Christopher Barker wrote: Ha! I haven't had a look at selftest.py before. That script requires an inplace build which I didn't do. Instead, I was pointing PYTHONPATH inside the build directory yup -- that will confuse things. But when I link against the stati

Re: [Pythonmac-SIG] [Image-SIG] PIL binaries -- please test

2010-06-05 Thread Christopher Barker
Matthias Baas wrote: Christopher Barker wrote: great -- are any of them running 10.4? I have little time, but here is the short version: The goal is to get a PIL binary that is statically linked to all of its dependencies, and those dependencies are all universal (32 bit PPC and Intel) and

Re: [Pythonmac-SIG] bdist_mpkg: more informative error message

2010-06-04 Thread Christopher Barker
Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-

Re: [Pythonmac-SIG] py2app query from a naif

2010-05-29 Thread Christopher Barker
bundle, install the Python2.6 from Python org, install all the packages you need, get your app running there, install py2app into that Python, then build away. That's really the way to do it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] [Image-SIG] PIL binaries -- please test

2010-05-26 Thread Christopher Barker
Yury V. Zaytsev wrote: On Tue, 2010-05-25 at 12:57 -0700, Christopher Barker wrote: If these work well, I think Fredrik will put them on the PIL site. If you need a permanent mirror in the States, here you go: http://packages.zaytsev.net/python/ Thanks, though ideally these would be

Re: [Pythonmac-SIG] Which version to use??

2010-05-26 Thread Christopher Barker
better job out of the box. The other option, of course, is to write multiple GUIs -- my experience is that it takes a LOT of code to write a GUI -- so that's a lot of work! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206)

Re: [Pythonmac-SIG] PIL binaries -- please test

2010-05-25 Thread Christopher Barker
Matthias Baas wrote: Christopher Barker wrote: Much to my surprise, I had a little time to build some PIL binaries: http://dl.dropbox.com/u/855965/PIL-OSX-Binaries/PIL-1.1.7-py2.5-macosx10.5.mpkg.zip http://dl.dropbox.com/u/855965/PIL-OSX-Binaries/PIL-1.1.7-py2.6-macosx10.5.mpkg.zip I built

Re: [Pythonmac-SIG] Which version to use??

2010-05-25 Thread Christopher Barker
ely on to get ported. Oh well. It's a big 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-6317

[Pythonmac-SIG] PIL binaries -- please test

2010-05-25 Thread Christopher Barker
, -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 chris.bar...@noaa.gov ___

Re: [Pythonmac-SIG] Which version to use??

2010-05-25 Thread Christopher Barker
uot;just works". -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 chris.bar...@noaa.gov ___

  1   2   3   4   5   6   7   >