Re: [Pythonmac-SIG] Trouble building tkinter for Aqua

2023-12-07 Thread Ned Deily
ns are specified in brackets. [...] TCLTK_CFLAGS C compiler flags for TCLTK, overriding pkg-config TCLTK_LIBS linker flags for TCLTK, overriding pkg-config -- Ned Deily n...@python.org -- [] ___ Pythonmac-SIG maillist - Python

Re: [Pythonmac-SIG] Universal build launches as Intel on M1

2022-03-28 Thread Ned Deily
,x86_64". Otherwise, the macOS installer assumes your app can only run as an Intel binary. https://github.com/thonny/thonny/blob/a9d12ba961eac875dc4a77ac1fb226baf5c3acc9/packaging/mac/Distribution.plist#L9 -- Ned Deily n...@python.org -- [] ___ P

Re: [Pythonmac-SIG] Hi. I am having difficulty installing NLTK on my Mac (12.02.01). Is there anyone who can help?

2022-03-07 Thread Ned Deily
(default, Sep 16 2021, 08:50:36) > [Clang 10.0.0 ] :: Anaconda, Inc. on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> from nltk.book.import * > File &

Re: [Pythonmac-SIG] Hi. I am having difficulty installing NLTK on my Mac (12.02.01). Is there anyone who can help?

2022-03-03 Thread Ned Deily
On Mar 3, 2022, at 16:15, Ned Deily wrote: > On Feb 27, 2022, at 15:51, Robert Wasserman via Pythonmac-SIG > wrote: >> >> I’ve been learning pylon on my Mac and and am trying to install NLTK so I >> can try the examples in the NLTK text. >> >> The instruct

Re: [Pythonmac-SIG] Hi. I am having difficulty installing NLTK on my Mac (12.02.01). Is there anyone who can help?

2022-03-03 Thread Ned Deily
obably more quickly solved via one of the general help forums out there. See https://www.python.org/about/help/. -- Ned Deily n...@python.org -- [] ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/list

Re: [Pythonmac-SIG] Need M1 Mac to Test

2022-01-12 Thread Ned Deily
xecutables and libraries as needed to produce a single arch set of files. Of course, that assumes that any third-party libraries needed for the build of Python have to also have been built with both archs. -- Ned Deily n...@python.org -- []

Re: [Pythonmac-SIG] Need M1 Mac to Test

2022-01-12 Thread Ned Deily
rother said you guys didn't have one yet. Thank you for the generous offer. We do already have access to various M1 Macs for Python testing including this one already in our buildbot fleet: https://buildbot.python.org/all/#/workers/44 Perhaps some other Python-related project could use ac

Re: [Pythonmac-SIG] Apple Silicon, anyone?

2020-07-13 Thread Ned Deily
needed for Big Sur even on current Intel platforms. I expect to publish here and elsewhere in the very near future a plan for how we will roll out Big Sur and Apple Silicon support in upcoming Python releases. -- Ned Deily n...@pyth

Re: [Pythonmac-SIG] Python 3.8 (latest release)problem

2020-05-30 Thread Ned Deily
this problem was caused by a change a couple of months ago for Issue39885: https://bugs.python.org/issue39885 which had the side effect of disabling the cut and copy context menu items. A fix for that regression was just merged yesterday so the problem sh

Re: [Pythonmac-SIG] Upgrade to pip 9.0.3 (due to TLS deprecation)

2018-04-06 Thread Ned Deily
s://github.com/pypa/warehouse/issues/3293#issuecomment-378468534 -- Ned Deily n...@python.org -- [] ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/m

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

2016-09-17 Thread Ned Deily
On 2016-09-13 19:33, Glyph Lefkowitz wrote: >> On Sep 13, 2016, at 3:35 PM, Andrew Jaffe > > wrote: >> >> Aha! >> >> $ ls -lt /Library/Python/2.7/site-packages/ >> total 0 >> -rwxr-xr-x 1 root wheel 157 31 Jul 02:36 Extras.pth* >> -rw-r--r-- 1 root wheel 119 31

Re: [Pythonmac-SIG] Installing python 2.7.9rc1 caused my frozen apps problems

2014-12-01 Thread Ned Deily
In article , Paul Wiseman wrote: > On 1 December 2014 at 23:57, Ned Deily wrote: > > > [duplicate reply as the first seems to have disappeared] > > > > In article > > , > > Paul Wiseman wrote: > > > I don't think it's either of th

Re: [Pythonmac-SIG] Installing python 2.7.9rc1 caused my frozen apps problems

2014-12-01 Thread Ned Deily
d 2.7.8 did, in fact, work correctly when run in the presence of 2.7.9rc1. So the question is what is going on with your app. Questions that come to mind: (1) What is the full traceback (e.g. which file causes hashlib to be imported)? (2) What is the value of sys.path at that point? (3) Wha

Re: [Pythonmac-SIG] Python 3.4.2 as default version

2014-11-26 Thread Ned Deily
ot;, "python2", and "python". That allows both Python 3 and 2 to co-exist. If you want to override that, you can create or modify symlinks in the framework bin directories (in /Library/Frameworks) and/or in /usr/local/bin. Whatever you do, don't try to modify or uninst

Re: [Pythonmac-SIG] Displaying messages through notification centre

2014-11-19 Thread Ned Deily
r app to osascript: http://apple.stackexchange.com/questions/57412/how-can-i-trigger-a-notifi cation-center-notification-from-an-applescript-or-shel -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.

Re: [Pythonmac-SIG] Package for building DMG installers from pip requirements

2014-09-18 Thread Ned Deily
On Sep 18, 2014, at 14:03 , Aaron Meurer wrote: > > On Thu, Sep 18, 2014 at 2:21 PM, Ned Deily wrote: >> In article >> , >> Matthew Brett wrote: >>> I'd very much like your feedback on a utility I've written to make OSX >>> installers from wh

Re: [Pythonmac-SIG] Package for building DMG installers from pip requirements

2014-09-18 Thread Ned Deily
l installer app distributed in a zip file, like most OS X downloads these days do (the Dropbox installation experience on OS X is perhaps the most user-friendly). In either case, the apps would need to be signed. An advantage of the first approach is that only one app needs to be signed r

Re: [Pythonmac-SIG] What does it take to run a GUI app?

2014-08-22 Thread Ned Deily
't support changing it at install or run time. Without knowing more, I'd look to solving the issue in wx rather than Python since it might affect other users as well. The Python framework GUI stuff is quite old and hasn't really been closely examined in a long time. Th

Re: [Pythonmac-SIG] Building compatible dependencies

2014-06-11 Thread Ned Deily
in its original path (for example, /Developer/SDKs/MacOSX10.6.sdk) and, if not found there, the ext module build proceeds without an SDK, using the headers and libs of the installed command line tools. Most of the time that is fine if you are building something to be used solely on the b

Re: [Pythonmac-SIG] webbrowser uses osascript instead of open

2014-03-16 Thread Ned Deily
on other than the existing code dates back to the early days of OS X (circa 2002) and it gets very little attention these days. Feel free to submit a patch (with tests) to the bug tracker if its behavior can be improved. -- Ned Deily, n...@acm.org

Re: [Pythonmac-SIG] linking extensions for older builds with newer pythons...

2014-03-06 Thread Ned Deily
In article , Ned Deily wrote: [...] > I've just commented on this in more detail on the pip issue tracker: > > https://github.com/pypa/pip/pip/pull/1465 er, https://github.com/pypa/pip/pull/1465 -- Ned Deily, n...@acm.org ___

Re: [Pythonmac-SIG] linking extensions for older builds with newer pythons...

2014-03-06 Thread Ned Deily
e that works with 10.6 through 10.9, the safest approach is to use the 10.6 SDK. If you only need it to work on your current system, the installed system headers should be OK, which Distutils falls back to if the SDK is not available in its traditional location.

Re: [Pythonmac-SIG] Image error activation problems

2014-02-13 Thread Ned Deily
> Computing dependencies for py27-six > ---> Activating py27-six @1.5.2_0 > Warning: File > /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site > -packages/six-1.5.2-py2.7.egg-info > already exists. Moving to: > /opt/local/Library/Framewor

Re: [Pythonmac-SIG] Errors building Cython extensions on 10.9...

2014-02-10 Thread Ned Deily
e default C++ library. It seems you can change it at compile time but you need to be careful that other C++ libs are also built the same. See, for example: http://stackoverflow.com/questions/19637164/c-linking-error-after-upgradi ng-to-mac-os-x-10-9-xcode-

Re: [Pythonmac-SIG] Bad installer for wxPython2.8-osx-ansi-2.8.12.1-universal-py2.7

2013-12-28 Thread Ned Deily
In article , Ned Deily wrote: > In article > , > Tony Cappellini wrote: > > I've just tried installing wx 2.8.12.1 on Mavericks and > > apparently the installer is bad. [...] > I see the same thing as well and it is not limited to Mavericks. It > would be

Re: [Pythonmac-SIG] Bad installer for wxPython2.8-osx-ansi-2.8.12.1-universal-py2.7

2013-12-28 Thread Ned Deily
alog tells me that that it is damaged. > > I've tried 2 mirror sites and 2 different browsers, all have the same > results I see the same thing as well and it is not limited to Mavericks. It would be good to report it to the project. -- Ned Deily, n...@acm.org __

Re: [Pythonmac-SIG] Python interactive segfaults on OS X 10.9 Mavericks

2013-10-28 Thread Ned Deily
m here: http://bugs.python.org/issue19426 Thanks very much, Michael, for noticing it! If you find any other problems, please open issues for them on the Python bug tracker if there isn't already an issue there. -- Ned Deily, n...@acm.org

Re: [Pythonmac-SIG] Building extension modules with Xcode 5

2013-10-28 Thread Ned Deily
release.) The solution to this problem and many other problems is to force the install of the CLT and the new way to do it in 10.9 Mavericks is: xcode-select --install. -- Ned Deily n...@acm.org -- [] ___ Pythonmac-SIG maillist - Pythonmac-

Re: [Pythonmac-SIG] Python interactive segfaults on OS X 10.9 Mavericks

2013-10-28 Thread Ned Deily
In article , Ned Deily wrote: > SInce OS X 10.9 Mavericks is now out, people are running into a severe > problem > when using some Python interpreters interactively. The symptom is that the > interpreter in interactive mode crashes after typing two lines: [...] > The fix for

[Pythonmac-SIG] Python interactive segfaults on OS X 10.9 Mavericks

2013-10-25 Thread Ned Deily
installers for both should be available by Monday. http://bugs.python.org/issue18458 Otherwise, for the most part, the transition to OS X 10.9 appears to be relatively problem-free so far. Please open issues on the Python bug tracker for any new problems you encounter (af

Re: [Pythonmac-SIG] Building extension modules with Xcode 5

2013-10-25 Thread Ned Deily
In article , Ned Deily wrote: > I'm really confused here. Using the current 2.7.5 64-bit installer (from > May) on 10.8.5 with Xcode 5.0.1 works just fine for me. Perhaps you are > seeing problems because you are trying to override Distutils defaults? If > you > do

Re: [Pythonmac-SIG] Building redistributable binaries with Xcode 4.4+

2013-10-24 Thread Ned Deily
riables as well as MACOSX_DEPLOYMENT_TARGET. It's not elegant. But it should work. I would like to add something to make that easier. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org

Re: [Pythonmac-SIG] Building extension modules with Xcode 5

2013-10-24 Thread Ned Deily
et the env variables, Distutils assumes you know what you are doing and honors the values you supply. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscr

Re: [Pythonmac-SIG] Building extension modules with Xcode 5

2013-10-24 Thread Ned Deily
3.3.2, and 3.4.0a4) should continue to do the right thing and substitute clang if the compile it was built with is not present. In fact, Distutils explicitly blacklisted the llvm-gcc shipped with Xcode 4. -- Ned Deily, n...@acm.org ___ Pytho

Re: [Pythonmac-SIG] avoiding system's "easy-install.pth" with custom distribution

2013-09-10 Thread Ned Deily
"sitecustomize" module. See site.py for details. http://bugs.python.org/issue4865 http://bugs.python.org/issue15048 http://hg.python.org/cpython/file/2.7/Lib/site.py#l305 -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

[Pythonmac-SIG] Python 3.4.0 alpha 2 available

2013-09-09 Thread Ned Deily
Python bug tracker. Thanks! http://www.python.org/download/releases/3.4.0/ http://www.python.org/download/mac/tcltk/ http://bugs.python.org -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org

[Pythonmac-SIG] OS X IDLE and Tkinter users: new releases of Tcl/Tk & Python

2013-05-18 Thread Ned Deily
loads http://bugs.python.org -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Environment variable issues running py2app application

2013-04-24 Thread Ned Deily
ell $PATH aren't relevant. It used to be possible to influence to the user's GUI environment by supplying a ~/.MacOSX/environment.plist but I believe that is no longer supported on current OS X releases and, in any case, it's a bad idea to depend on it. It is possible to

Re: [Pythonmac-SIG] Query Regarding IDE for python for GUI Apps

2013-02-20 Thread Ned Deily
ee. Besides the development alpha builds, TM2 is also available through MacPorts. https://github.com/textmate/textmate/downloads -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listin

Re: [Pythonmac-SIG] broken symlinks when building framework

2013-02-15 Thread Ned Deily
/Frameworks \ --with-framework-name=Pytest \ CC=clang \ MACOSX_DEPLOYMENT_TARGET=10.8 make && make install That should build and install into Applications, Library/Frameworks, and bin directories under ${INSTALL_ROOT}. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] bdist_mpkg question: python 3 support?

2012-12-17 Thread Ned Deily
;s not trivially easy or it probably would have been done before. IIRC, Setuptools/Distribute has to do some behind the scenes platform-specific tricks to ensure that dynamic loads of the extension modules work, certainly for zipped binary eggs. To a large extent, it's the tricks that setup

Re: [Pythonmac-SIG] IDLE won't start from app

2012-11-13 Thread Ned Deily
ated). > > This shows the stdout/stderr of IDLE.app in the terminal window, and with > some luck this shows why it won't open anymore. Also, check the system log in Console.app. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-11-01 Thread Ned Deily
ork. That Python.app bundle has the name "Python" in the plist. py2app, of course, creates a custom app bundle including an Info.plist with the app name you specify. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-10-31 Thread Ned Deily
Py2app should have nothing to do with tkinter menus other than possibly the application name. The code should work equally well in the interpreter or with a py2app-bundled app. Are you sure you are invoking the right interpreter if you are depending on the shebang line? -- Ned Deily

Re: [Pythonmac-SIG] Building a 32 bit framework build in a 64 bit system

2012-10-16 Thread Ned Deily
mponent of Xcode from Xcode -> Preferences. That installs things like clang, make, ld, and system include files into their conventional places within /usr. Good luck! -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] permission of doc dir

2012-10-15 Thread Ned Deily
clen up that tiny > nugget in future builds. Chris, Please open an issue on the bug tracker so we don't forget. Thanks! -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailma

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-10 Thread Ned Deily
27;m successful, where should I submit a patch? A Python patch could go here: http://bugs.python.org/issue15853 -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig uns

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-10 Thread Ned Deily
eproduce it with > the simple sample Python script. As a result I am not sure what to do here. Look at the dump file I attached to the Tk issue. It has a complete debug trace through Tk including C line numbers. http://sourceforge.net/tracker/?func=d

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-09 Thread Ned Deily
In article <50737897.9030...@codebykevin.com>, Kevin Walzer wrote: > On 10/8/12 5:34 PM, Ned Deily wrote: > > As far as I can tell, the problem is not fixed in the source tree. The > > problem is trivial to reproduce with Python and IDLE. Try it with your > > own b

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Ned Deily
In article <50734448.30...@codebykevin.com>, Kevin Walzer wrote: > On 10/8/12 4:22 PM, Ned Deily wrote: > > It has not been fixed yet. > > Is this statement based on a fresh checkout of the core-8-5-branch from > http://core.tcl.tk/tk? Because my build of 8.5 dates

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Ned Deily
release from ActiveState has not yet been made. When they > release a new version the crash should go away. It has not been fixed yet. The workaround at the moment is to revert to an older version of ActiveState, 8.5.11.1, as described here: http://www.python.org/download/mac/tcltk

Re: [Pythonmac-SIG] Matplotlib-animation problem

2012-09-04 Thread Ned Deily
7.3, no wxPython, all on 10.8.1) and, FWIW, I see the same behavior running your example as you report. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Py2app error

2012-08-02 Thread Ned Deily
t-only Python to build extension modules on newer releases. Some of that support will be backported for upcoming 2.7.x and 3.2.x releases. BTW, for Python 3.3, the 32-bit-only installer Python supports 10.5+ systems (i386 and ppc). More details on all of this forthcoming. -- Ned Deily, n...@acm.o

Re: [Pythonmac-SIG] PyQT on Lion?

2012-07-20 Thread Ned Deily
se do the hard work of integrating all the pieces. There may be a little time at the beginning to get used to the package manager's quirks but it will almost certainly pay off in the long run. -- Ned Deily, n...@acm.org ___ Pythonmac

Re: [Pythonmac-SIG] PyQT on Lion?

2012-07-20 Thread Ned Deily
mand: cd /Library/Frameworks/Python.framework/Versions/2.6 file ./lib/python2.6/site-packages/PyQt4/QtCore.so file ./bin/python2.6 There must be a common subset of architectures and the interpreter has to running in one of those common archs. -- Ned Deily, n...@acm.org __

Re: [Pythonmac-SIG] Building Python 2.7 with ppc64

2012-05-06 Thread Ned Deily
ly, it only builds its own version of sqlite3 if the deployment target is less than 10.5. Once you have built a Python, I would highly recommend that you run the full Python test suite, perhaps: python2.7 -m test.regrtest -w -uall,-largefile Good luck! -- Ned Deily, n...@acm.or

Re: [Pythonmac-SIG] Python completion in emacs fails on OSX

2012-04-18 Thread Ned Deily
ng happens there: echo is immediately re-enabled. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Python completion in emacs fails on OSX

2012-04-17 Thread Ned Deily
ary "readline" module with one linked with GNU readline. http://pypi.python.org/pypi/readline -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Building numpy/scipy for python3 on MacOS Lion

2012-03-24 Thread Ned Deily
inalg/dsolve/_superlumodule.o > -msse3" failed with exit status 1 The deprecation warning isn't necessarily a problem but the compile error is. Sorry, I have no experience with scipy so I would only be guessing what the problem here is. Suggest you ask on the Scipy-User mailing list (http://www.scipy.org/Mailing_Lists). Good luck! -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Building numpy/scipy for python3 on MacOS Lion

2012-03-23 Thread Ned Deily
x-10.5-intel-2.7 -o > build/lib.macosx-10.5-intel-2.7/scipy/cluster/_vq.so" failed with exit status > 1 It looks like a copy and paste error. Note the environment variable settings I suggested were: $ export CC=clang $ export LDSHARED='

Re: [Pythonmac-SIG] Building numpy/scipy for python3 on MacOS Lion

2012-03-21 Thread Ned Deily
art with Xcode 4.3 or follow the installation step of allowing Xcode to remove the old /Developer directory, Distutils-initiated compiles will fail because they can't find the SDK with OS X header files. The workaround for that is to create a symlink from the new location to the old: $

Re: [Pythonmac-SIG] PyCon..

2012-03-11 Thread Ned Deily
e else can sit down with Kenneth or other sprinters on that project and pick their brains a bit. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] PyCon..

2012-03-10 Thread Ned Deily
In article <20120311020302.ga31...@illinois.edu>, Nicholas Riley wrote: > On Sat, Mar 10, 2012 at 04:56:26PM -0800, Ronald Oussoren wrote: > > On 10 Mar, 2012, at 15:05, Chris Barker wrote: > > > On Tue, Feb 14, 2012 at 7:23 AM, Ned Deily wrote: > > >> I&#

Re: [Pythonmac-SIG] (re)newbie py2app question

2012-03-05 Thread Ned Deily
inting the value of sys.path when you are running in the debugger and when not. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] (re)newbie py2app question

2012-03-04 Thread Ned Deily
10.7, you should probably dig deeper into the errors and make your program work in 64-bit mode as well. Good luck! -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

[Pythonmac-SIG] Fix for international characters in Tcl/Tk 8.5

2012-03-04 Thread Ned Deily
the Apple-supplied system Pythons nor by 32-bit-only python.org Pythons. More details here: http://www.python.org/download/mac/tcltk/ -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailma

Re: [Pythonmac-SIG] Fwd: distutils and stdarg.h

2012-02-14 Thread Ned Deily
t; I'll fix it and try building matplotlib again. Thank you very much! Glad it helped. I've opened Issue14018 to add a check to the OS X installer build script to make sure that tkinter is linked as expected with the A/S frameworks. -- Ned Deily, n...@acm.org

Re: [Pythonmac-SIG] PyCon..

2012-02-14 Thread Ned Deily
cPython sprint? > > I'll be there as well, but won't sprint this year. I'm planning to sprint through Thursday. I've added a Mac OS X Support project to the PyCon sprint page. Feel free to add topics and add yourself. Hope to see you all there! https://us.pycon

Re: [Pythonmac-SIG] Fwd: distutils and stdarg.h

2012-02-14 Thread Ned Deily
In article , "Russell E. Owen" wrote: > In article , > Ned Deily wrote: > > > In article , > > "Russell E. Owen" wrote: > > > I suggest you try one of these things: > > > - Use gcc 4.0.1 to build extensions for 32-bit python.org py

Re: [Pythonmac-SIG] Fwd: distutils and stdarg.h

2012-02-09 Thread Ned Deily
how do I use 4.01. with distutils? For the any C++ modules, you may need to override the C++ compiler choice by using a CXX environment variable. What OS version are you trying this on, BTW? -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - P

Re: [Pythonmac-SIG] Fwd: distutils and stdarg.h

2012-02-09 Thread Ned Deily
ly required on 10.6 for any Tkinter applications due to the broken state of the Apple-supplied in Tcl/Tk 8.5.x in 10.6 (the Apple-supplied Tcl/Tk 8.5.x is better in 10.7 but still behind the A/S version wrt critical fixes.) http://www.python.org/download/mac/tcltk/ -- Ned Deily, n...@acm.org

Re: [Pythonmac-SIG] New to list with issues

2011-12-30 Thread Ned Deily
ernal helper C module that provides an interface to the OS X System Configuration framework to access Internet proxy configurations for the urllib module. You should open an issue for this at bugs.python.org. Please include the original crash report traceback. -- Ned Deily, n...@acm.org __

Re: [Pythonmac-SIG] Which version of python on OSX Lion 10.7.2

2011-12-11 Thread Ned Deily
sional security fix). If you are installing something that depends on the system Python, you should explicitly invoke Python via /usr/bin/python2.7 and, if you need to use easy_install, /usr/bin/easy_install-2.7 -- Ned Deily, n...@acm.org

Re: [Pythonmac-SIG] Python 2.7 (Lion) and user site-packages folder problem

2011-10-05 Thread Ned Deily
ually get resolved before Python 3.3 releases. In the meantime, try: ~/Library/Python/2.7/lib/python/site-packages/ You should also be able to create a symlink to make the old and the new locations equivalent. http://bugs.python.org/issue8084 http://bugs.python.org/issue7175 --

Re: [Pythonmac-SIG] installation trouble

2011-08-26 Thread Ned Deily
code 3 or Xcode 4 and either Snow Leopard or Lion. You'll need to reinstall Distribute for it. And just change the "3.1" to "3.2" in the "export" command above. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG

Re: [Pythonmac-SIG] Py2App-Lion-MySQLdb Error Msg

2011-08-15 Thread Ned Deily
x27;copying.txt'], > setup_requires = ['py2app'], > ) > > Does anyone have any ideas of how to correct this. On 10.7, did you build all of the installed MacPorts MySQL packages with MACOSX_DEPLOYMENT_TARGET=10.6 and the 10.6 SDK? (I'm not sure how well that is supported with MacPorts.) It's always dicey building something on release n (10.7 in this case) and using it on release n-1 (10.6) unless you use the appropriate SDK and deployment target. It is generally safe to do the reverse, though: build on 10.6 to deploy on 10.7. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] translate applescript to appscript

2011-08-12 Thread Ned Deily
tly that I ran across that reference form somewhere. Perhaps we can persuade HAS to add an example to the appscript documentation. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/lis

Re: [Pythonmac-SIG] translate applescript to appscript

2011-08-11 Thread Ned Deily
> and this is not sufficient either, because there are folders (such as > the /tmp folder) that are not "visible" to the Finder and so fail. Try this reference form: app("Finder").items[mactypes.Alias("/path/to/file")] -- Ned Deily, n...@acm.o

Re: [Pythonmac-SIG] Ownership of installed Python on Mac

2011-08-09 Thread Ned Deily
In article , Ned Deily wrote: > In article , > Ned Deily wrote: > > > In article > > , > > Michael Foord wrote: > > > I don't believe that is actually the case in Lion due to the changes > > > pointed > > > out by Nicholas. &

Re: [Pythonmac-SIG] Ownership of installed Python on Mac

2011-08-09 Thread Ned Deily
In article , Ned Deily wrote: > In article > , > Michael Foord wrote: > > I don't believe that is actually the case in Lion due to the changes > > pointed > > out by Nicholas. > Odd! So far, this works for me on Lion with the current python.org > in

Re: [Pythonmac-SIG] Ownership of installed Python on Mac

2011-08-09 Thread Ned Deily
In article , Michael Foord wrote: > On 9 August 2011 20:42, Ned Deily wrote: > > > In article > > , > > Michael Foord wrote: > > > I've installed Python on OS X Lion on two computers - one with Lion > > > preinstalled and one upgraded fr

Re: [Pythonmac-SIG] Ownership of installed Python on Mac

2011-08-09 Thread Ned Deily
In article , Ned Deily wrote: > In article > , > Michael Foord wrote: > > I've installed Python on OS X Lion on two computers - one with Lion > > preinstalled and one upgraded from Snow Leopard. I used both Python.org and > > Activestate installers. > &

Re: [Pythonmac-SIG] Ownership of installed Python on Mac

2011-08-09 Thread Ned Deily
are using easy_install, make sure you aren't using the Apple-supplied easy_installs in /usr/bin which are for the system Pythons (2.7, 2.6, and 2.5 in OS X 10.7). They will, by default, attempt to install into /Library/Python/2.y and /usr/local

Re: [Pythonmac-SIG] py2app application fails with ImportError: No module named sysconfig

2011-07-22 Thread Ned Deily
hen the real distutils.sysconfig is called. No doubt the change that moves the "from numpy.distutils.misc_util" import solves an import ambiguity somewhere so that the normal distutils.sysconfig is found and imported earlier. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Lion

2011-07-22 Thread Ned Deily
In article , "Russell E. Owen" wrote: > In article , > Ronald Oussoren wrote: > > > On 22 Jul, 2011, at 6:10, Aahz wrote: > > > > > On Thu, Jul 21, 2011, Ned Deily wrote: > > >> > > >> Although it's not practic

Re: [Pythonmac-SIG] Lion

2011-07-21 Thread Ned Deily
In article , Ned Deily wrote: > The 64-bit/32-bin python.org installers (current releases are 3.2.1 and > 2.7.2) *should* work on 10.7 Lion. I'm not so sure about the > traditional 32-bit-only ones (the 10.3+ ones). As with 10.6, I expect > you will need to install ActiveSt

Re: [Pythonmac-SIG] py2app application fails with ImportError: No module named sysconfig

2011-07-20 Thread Ned Deily
1.5.1 from source > install numpy 1.5.1 using binary installer > install numpy 1.6.0 using binary installer > > I also noticed that the module with the failing import > (distutils/ccompiler.py) is identical in numpy 1.5.1 and 1.6.1fc3. What version of Python 2.7 are you using? A

Re: [Pythonmac-SIG] Lion

2011-07-20 Thread Ned Deily
ython.org/download/ http://www.python.org/download/mac/tcltk/ -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Python virtual environments on OS X

2011-07-18 Thread Ned Deily
k build and test using a non-default framework location and the virtual env set up by ./python -m virtualize test_dir worked just fine, just as the original virtualenv does with framework builds. So while we may find some nits down the road, I thi

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-23 Thread Ned Deily
In article , Brian Zambrano wrote: > > ls -l ./Resources/lib/python2.6/lib-dynload/zlib.so [...] Sorry, nothing obviously wrong there. So presumably it is some sort of path issue in the py2app bootstrap. Hope you track it down. -- Ned Deily, n...@a

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-22 Thread Ned Deily
o file ./Resources/lib/python2.6/lib-dynload/zlib.so otool -L ./Resources/lib/python2.6/lib-dynload/zlib.so and stating exactly which py2app options you are using to build the app. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@pyth

Re: [Pythonmac-SIG] wide python config

2011-05-22 Thread Ned Deily
e-unicode=ucs4 BTW, MacPorts appears to support +ucs4 as a variant for python27 builds. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.

Re: [Pythonmac-SIG] OSX 10.5 and 64-bit Python

2011-05-05 Thread Ned Deily
7;s builds) > That looks promising. Thanks! Just be aware that the ActiveState distributions are not open-source and make sure your intended usage is compatible with the ActiveState licenses. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maill

Re: [Pythonmac-SIG] OSX 10.5 and 64-bit Python

2011-05-05 Thread Ned Deily
of trunk for 2.7.x is here (and these files are more up-to-date than the 2.7.1 released versions): http://hg.python.org/cpython/file/76a2354aa427/Mac/BuildScript You'd have to tweak the script a bit to get *just* 64-bit Intel, if you need that. -- Ned Deily, n...@acm.org

Re: [Pythonmac-SIG] improving interactivity in scripts

2011-05-04 Thread Ned Deily
t also ask for > > input? > > I've found the Vanilla library easy to work with to build simple dialogs, but > more complex stuff as well. > http://code.typesupply.com/wiki/Vanilla There's also the venerable CocoaDialog: http://cocoadi

Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-02 Thread Ned Deily
and LDFLAGS, as I mentioned in my previous reply. Then you shouldn't need to modify setup.py so you can easy_install or pip. -- Ned Deily, n...@acm.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/

Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-01 Thread Ned Deily
le and open a bug tracker issue, that would be good. The relevant code for 2.7.1 is here: http://hg.python.org/cpython/file/5395f96588d4/Lib/distutils/ccompiler.py http://hg.python.org/cpython/file/5395f96588d4/Lib/distutils/unixccompile r.py -- Ned Deily, n...@acm.org ___

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

2011-04-07 Thread Ned Deily
7;ve come around to the thinking that those links cause more trouble that they are worth, especially since the framework bin directory is where Distutils-installed script files get installed. Another potential change for 3.3. > That said, they're minor annoyances and I've

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

2011-04-07 Thread Ned Deily
original .bash_profile is to append these (or similar) lines to the end of the file: # Setting PATH for Python 2.7 # The orginal version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" export PATH Hope that helps! -- Ned Deily, n..

Re: [Pythonmac-SIG] Can't import pyserial- after installing with easy_install on OSX 10.6.6

2011-03-21 Thread Ned Deily
either a directory like that or a zipfile version of the directory. But, somewhat confusingly, it appears the module name is "serial". http://pyserial.sourceforge.net/shortintro.html#configuring-ports-later After installing, "import serial" works for me. I don't have a

  1   2   3   >