[Pythonmac-SIG] Help me using python setup.py bdist

2022-02-08 Thread HUAWEI HUAWEI
> I'm Mohammed from Sudan, > Diploma in Computer science. > > Sudanese love using : > 1- windows ( 32bit & 64bit ) > 2 - Linux ( Deb, rpm ) > 3- android ( apk ) > 4- iPhone (ios ) > > I design simple python application to enter two numbers and calculate it > > > Help me using python setup.py bdist

Re: [Pythonmac-SIG] Help with Py2app

2012-05-08 Thread Charlie Clark
Am 30.04.2012, 23:16 Uhr, schrieb Chris Barker : I'm now getting the same error as when running the original setup.py raise TypeError("Don't know how to handle '%s'" % repr(src)) TypeError: Don't know how to handle ''/Users/charlieclark/Sites/LinkChecker/linkchecker-gui'' what is link-check

Re: [Pythonmac-SIG] Help with Py2app

2012-05-02 Thread Charlie Clark
Am 30.04.2012, 23:16 Uhr, schrieb Chris Barker : (dont' forget to include pythonmac-sig -- it's not doen with a standard reply.) Sorry, I forgot. On Mon, Apr 30, 2012 at 2:07 PM, Charlie Clark wrote: That's a setuptools (or distribute) feature, and should be in the primary setup.py that

Re: [Pythonmac-SIG] Help with Py2app

2012-04-30 Thread Chris Barker
(dont' forget to include pythonmac-sig -- it's not doen with a standard reply.) On Mon, Apr 30, 2012 at 2:07 PM, Charlie Clark wrote: >> That's a setuptools (or distribute) feature, and should be in the >> primary setup.py that the main developer uses on other platforms. > > Well, where should i

Re: [Pythonmac-SIG] Help with Py2app

2012-04-30 Thread Charlie Clark
Am 30.04.2012, 20:08 Uhr, schrieb Chris Barker : I'd go farther with this... I don't know that py2app reslies on setuptools for anything. Maybe it doesn't but I got an error when I moved the relevant part of setup.py over to a new file generated by py2applet. It was complaining about the

Re: [Pythonmac-SIG] Help with Py2app

2012-04-30 Thread Chris Barker
On Mon, Apr 30, 2012 at 10:20 AM, Charlie Clark >>> tried to break out the py2app part into a separate script. I'd go farther with this... >> I don't know that py2app reslies on setuptools for anything. > > Maybe it doesn't but I got an error when I moved the relevant part of > setup.py over to

Re: [Pythonmac-SIG] Help with Py2app

2012-04-30 Thread Charlie Clark
Am 30.04.2012, 18:59 Uhr, schrieb Chris Barker : darn... Yeah, well I least I bumped the MacPorts port and that works like a charm. It'll even give you DMG if you ask nicely. Unfortunately the DMG contains symlinks to the libraries and binaries so it isn't redistributable. I am hoping t

Re: [Pythonmac-SIG] Help with Py2app

2012-04-30 Thread Chris Barker
On Mon, Apr 30, 2012 at 4:26 AM, Charlie Clark > I'm trying to update the setup script for the LinkChecker project > http://linkchecker.sourceforge.net/ because it no longer builds the app and > does not work reliably in a virtualenv. darn... > I am hoping to build a standalone > app and package

[Pythonmac-SIG] Help with Py2app

2012-04-30 Thread Charlie Clark
Hi, I'm trying to update the setup script for the LinkChecker project http://linkchecker.sourceforge.net/ because it no longer builds the app and does not work reliably in a virtualenv. I am hoping to build a standalone app and package it as a DMG as the project author no longer has acces

[Pythonmac-SIG] help

2011-07-14 Thread Georges Arsouze
Hi sorry for my poor english I'am working on mac os 10.6.1 with Python 3.1 I have wish 8.6 on my computer I want to use ttk widgets or tix widgets when i do import tkinter >>> tkinter._test() i obtain this is a tcl/tk version 8.4 on tk docs i see i must have a tcl/tk version 8.5 what can i do ?

Re: [Pythonmac-SIG] Help: py2applet can not find py2app.scripts.script_py2applet

2010-09-09 Thread engelbert gruber
On Fri, Sep 10, 2010 at 12:21 AM, Ron Johnson wrote: > Me and my companions have tried to learn how to package programs through > internet tutorials but all of the tutorials seem to require prior knowledge > of how to package (or we are simple too dumb).  We have gleaned how to > manually make a s

[Pythonmac-SIG] Help: py2applet can not find py2app.scripts.script_py2applet

2010-09-09 Thread Ron Johnson
Me and my companions have tried to learn how to package programs through internet tutorials but all of the tutorials seem to require prior knowledge of how to package (or we are simple too dumb). We have gleaned how to manually make a setup.py and that commands should be given through the termi

Re: [Pythonmac-SIG] Help with py-appscript?

2010-06-19 Thread Charles Turner
On Jun 19, 2010, at 7:44 AM, has wrote: > So I would suggest taking it up with the Skim authors, as it's probably a bug > in their scripting support. As a follow-up, Christiaan Hofmann offered this: On Jun 19, 2010, at 9:00 AM, Christiaan Hofman wrote: > This is a very old and very annoying Ap

Re: [Pythonmac-SIG] Help with py-appscript?

2010-06-19 Thread Charles Turner
On Jun 19, 2010, at 7:44 AM, has wrote: > So I would suggest taking it up with the Skim authors, as it's probably a bug > in their scripting support. Thanks for all the help, has. I've been talking with the Skimmers about this too. Best wishes, Charles

Re: [Pythonmac-SIG] Help with py-appscript?

2010-06-19 Thread has
Charles Turner wrote: > I have the following script: > > from appscript import * > > skim = app('Skim.app') > reference = skim.documents[1].notes[1].selection.get()[0] > print reference > > which produces the reference: > > app(u'/Applications/Skim.app').documents[u'blair-2004.pdf'].pages[1].t

[Pythonmac-SIG] Help with py-appscript?

2010-06-17 Thread Charles Turner
Hi all- Although I'm sure I qualify as a Python noobie as well as with Applescript and Skim, I've run into the following and hope someone could shed some light for me. I have the following script: from appscript import * skim = app('Skim.app') reference = skim.documents[1].notes[1].selection.g

Re: [Pythonmac-SIG] Help getting properties in py-appscript?

2010-04-14 Thread Charles Turner
On Apr 14, 2010, at 12:47 PM, has wrote: +1. It sounds like the OP's function is assigning values to 'k' at some point, e.g. 'for k, v in d.items():...', which is a general Python error, as you say. In which case, either pick a different variable name or use 'import appscript' and 'appscr

Re: [Pythonmac-SIG] Help getting properties in py-appscript?

2010-04-14 Thread has
Aahz wrote: > On Tue, Apr 13, 2010, Charles Turner wrote: >> >> This works just fine at the top level of the script, but when I get() >> and reference props inside a function definition, Python complains about >> the dot in k-dot-name, for example: >> >> "UnboundLocalError: "local variable 'k

Re: [Pythonmac-SIG] Help getting properties in py-appscript?

2010-04-13 Thread Aahz
On Tue, Apr 13, 2010, Charles Turner wrote: > > This works just fine at the top level of the script, but when I get() > and reference props inside a function definition, Python complains about > the dot in k-dot-name, for example: > > "UnboundLocalError: "local variable 'k' referenced before ass

Re: [Pythonmac-SIG] Help getting properties in py-appscript?

2010-04-13 Thread Charles Turner
OK- Adding this at the script top-level enabled me to continue: r_uuid = k.uuid r_name = k.name r_type = k.type r_tags = k.tags r_plain_text = k.plain_text so my references to props[r_uuid] work inside a function definition. I'd still very much appreciate any elucidation of my problem, as I'm

[Pythonmac-SIG] Help getting properties in py-appscript?

2010-04-13 Thread Charles Turner
Hi all- Having some trouble getting my head around this, and wonder if someone could shed some light. I'm using py-appscript to get the properties of a record in DEVONthink Pro: from appscript import * dtpo = app('DEVONthink Pro.app') i = dtpo.selection.get() props = i[0].properties.get(

Re: [Pythonmac-SIG] Help wanted in installing IDLE in Mac

2009-09-08 Thread Ronald Oussoren
On 6 Sep, 2009, at 22:21, Ahmed Shamim wrote: Hi there, I'm really in a deep shit. In my class, I am just falling behind. I am trying every way to install IDLE in my macbook (version OS X 10.5.8 and Intel core 2 duo) It gets installed, but when I double click IDLE app, it just seems li

[Pythonmac-SIG] Help wanted in installing IDLE in Mac

2009-09-08 Thread Ahmed Shamim
Hi there, I'm really in a deep shit. In my class, I am just falling behind. I am trying every way to install IDLE in my macbook (version OS X 10.5.8 and Intel core 2 duo) It gets installed, but when I double click IDLE app, it just seems like opening something, but does not open anything... pls he

[Pythonmac-SIG] help! coregraphics+python+webserver suddenly fails

2009-02-04 Thread michael geary
Hi Folks, i have very little experience with anything relating to cocoa, and not much more with quartz, but i'm an experienced web app developer, and have used python quite a bit. This list is the closest thing i can find to a forum where i can discuss this issue. I have a script that i'v

[Pythonmac-SIG] Help! I can't get py2app v0.4.2 to correctly embed Authorization

2008-08-08 Thread David Hostetler
I'm trying to build a fairly simple app (on osx 10.5.4) that leverages the Authorization module (v0.1). The py2app build succeeds, but when I run the app, I get an exception that says: '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/Authorization/_Authorization

Re: [Pythonmac-SIG] Help, py2app thinks everything is dependant?

2008-04-10 Thread Ronald Oussoren
On 11 Apr, 2008, at 1:22, Ian Bloom wrote: I have a program that I've been writing using Xcode, pyObjc and py2app. Up until this point I've been using the standard python on Mac OSX Tiger which is 2.3, it's been doing fine for me. I needed to use the subprocess module, so I installed 2.4 and cha

[Pythonmac-SIG] Help, py2app thinks everything is dependant?

2008-04-10 Thread Ian Bloom
I have a program that I've been writing using Xcode, pyObjc and py2app. Up until this point I've been using the standard python on Mac OSX Tiger which is 2.3, it's been doing fine for me. I needed to use the subprocess module, so I installed 2.4 and changed the lead line in my setup.py file to read

Re: [Pythonmac-SIG] Help getting started with py-appscript

2008-04-05 Thread has
Dewey V. Schorre wrote: > My only copy of Python is MacPython 2.5 in my application folder. That's just the GUI utilities that come with the third-party Python 2.5 distribution from python.org; the Python framework itself, which includes its command line tools, is installed under /Library/Fra

Re: [Pythonmac-SIG] Help getting started with py-appscript

2008-04-04 Thread Dewey V. Schorre
On Apr 4, 2008, at 4:45 AM, has wrote: Dewey V. Schorre wrote: I began by installing py-appscript like this: macpro-administrators-computer:~ val$ sudo easy_install appscript . . . Finished processing dependencies for appscript macpro-administrators-computer:~

Re: [Pythonmac-SIG] Help getting started with py-appscript

2008-04-04 Thread has
Dewey V. Schorre wrote: > I began by installing py-appscript like this: > > macpro-administrators-computer:~ val$ sudo easy_install appscript > . . . > Finished processing dependencies for appscript > macpro-administrators-computer:~ val$ > > I thought that had worked, so I

[Pythonmac-SIG] Help getting started with py-appscript

2008-04-03 Thread Dewey V. Schorre
I began by installing py-appscript like this: macpro-administrators-computer:~ val$ sudo easy_install appscript . . . Finished processing dependencies for appscript macpro-administrators-computer:~ val$ I thought that had worked, so I began the tutorial like this:

[Pythonmac-SIG] [Help] Where is objc (PyObjc) in Leopard?

2008-03-28 Thread Dongpyo Hong
Dear all, I need some explanation why it is that. A few days ago, I downloaded python 2.5.2 for Mac OS X, and installed it. It goes to /Library/Frameworks/ And I found that Leopard already had one 2.5.1 in /System/Library/Frameworks/... I didn't want to have both, thus I replaced python.frame

Re: [Pythonmac-SIG] Help with path settings

2008-02-02 Thread Piet van Oostrum
> George Wright <[EMAIL PROTECTED]> (GW) wrote: >GW> I guess I should leave the python 2.3 where it is Yes, you should never remove the system provided Python from your computer. >>> There are quite a lot of places where environment variables can be set. >>> >>> E.g. ~/.profile ~/.bashrc ~

Re: [Pythonmac-SIG] Help with path settings

2008-01-29 Thread George Wright
Piet van Oostrum <[EMAIL PROTECTED]> wrote: George Wright <[EMAIL PROTECTED]> (GW) wrote: GW> I'm having trouble with PYTHONPATH .. GW> ... GW> PYTHONPATH =/usr/local/Zope-3.3.0/lib/python GW> I want to change this to PYTHONPATH='' GW> I can't find where I set it to the current value.

Re: [Pythonmac-SIG] Help with path settings

2008-01-29 Thread Piet van Oostrum
> George Wright <[EMAIL PROTECTED]> (GW) wrote: >GW> I'm having trouble with PYTHONPATH .. >GW> george-g5:~ georgewright$ env >GW> TERM_PROGRAM=Apple_Terminal >GW> ... >GW> PYTHONDOCS=/Users/georgewright/Python_stuff/Python-Docs-2.4.2/ >GW> PATH=/usr/local/bin:/usr/local/sbin:/usr/local/:/usr/

[Pythonmac-SIG] Help with path settings

2008-01-21 Thread George Wright
I'm having trouble with PYTHONPATH .. george-g5:~ georgewright$ env TERM_PROGRAM=Apple_Terminal ... PYTHONDOCS=/Users/georgewright/Python_stuff/Python-Docs-2.4.2/ PATH=/usr/local/bin:/usr/local/sbin:/usr/local/:/usr/local/mysql/bin:/ opt/local/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/mysql/

[Pythonmac-SIG] Help with py2app-- not including PyQT?

2007-08-29 Thread Reuben Avery
Title: Help with py2app-- not including PyQT?  Hello Python folks.. Newbie question big time here.. Sorry!  But I would appreciate any tips I was trying to use py2app  to create a standalone of a Python app that uses PyQt.   It seems after packaging that the app can no longer find Qt: $ pyth

Re: [Pythonmac-SIG] Help with psycopg2

2007-03-28 Thread Kent Johnson
Kent Johnson wrote: > Hi, > > I am trying to install PostgreSQL and psycopg2. I would like to get this > working with Python 2.5 and Postgres 8.2. Update: I was able to build psycopg2 from source and it now imports so I think I'm all set. Thanks, Kent > > I installed Postgres from Mark Liyan

[Pythonmac-SIG] Help with psycopg2

2007-03-28 Thread Kent Johnson
Hi, I am trying to install PostgreSQL and psycopg2. I would like to get this working with Python 2.5 and Postgres 8.2. I installed Postgres from Mark Liyanage's installer: http://www.entropy.ch/software/macosx/postgresql/ I installed psycopg2 from pythonmac: http://www.pythonmac.org/packages/py

Re: [Pythonmac-SIG] Help loading a module

2006-10-05 Thread Bob Ippolito
On 10/5/06, halamillo <[EMAIL PROTECTED]> wrote: > > > > Newbie BioGrad student here (again): > > First, thanks for the help on the root node variable last time. It was > most helpful! > > Now, I am trying to load a new module into MacPython, but after doing $ > python setup.py install, or $ python

[Pythonmac-SIG] Help loading a module

2006-10-05 Thread halamillo
Newbie BioGrad student here (again):First, thanks for the help on the root node variable last time. It wasmost helpful!Now, I am trying to load a new module into MacPython, but after doing $python setup.py install, or $ python setup.py build, then $ pythonsetup.pythe files on the module I downloade

Re: [Pythonmac-SIG] help for newbie... anybody?

2006-09-12 Thread Ronald Oussoren
On Sep 12, 2006, at 8:52 AM, Matt Coneybeare wrote: I just want to use xcode for my ide (I realize that python is simple enough to run without one but I still would like to use xcode) and i have tried to google for an answer. Everything points to pyobjc and py2app but I dont want to make

[Pythonmac-SIG] help for newbie... anybody?

2006-09-11 Thread Matt Coneybeare
I just want to use xcode for my ide (I realize that python is simple enough to run without one but I still would like to use xcode) and i have tried to google for an answer.  Everything points to pyobjc and py2app but I dont want to make applications in obj-c I just want to be able to put *.py into

Re: [Pythonmac-SIG] help needed with py2app for self updating application

2006-04-24 Thread Nicholas Riley
On Mon, Apr 24, 2006 at 11:34:56AM -0700, Christopher Barker wrote: > SPE Stani's Python Editor wrote: > > One more question which which versions of python and wxPython ship OS > > X 10.2, 10.3 and any version which is still common? (For 10.4 it is > > python2.3.5 and wxPython2.5.3.1 (check with im

Re: [Pythonmac-SIG] help needed with py2app for self updating application

2006-04-24 Thread Christopher Barker
SPE Stani's Python Editor wrote: > One more question which which versions of python and wxPython ship OS > X 10.2, 10.3 and any version which is still common? (For 10.4 it is > python2.3.5 and wxPython2.5.3.1 (check with import wx;wx.VERSION). | Python | wxPython 10.2 2.2.?

Re: [Pythonmac-SIG] help needed with py2app for self updating application

2006-04-21 Thread SPE Stani's Python Editor
One more question which which versions of python and wxPython ship OS X 10.2, 10.3 and any version which is still common? (For 10.4 it is python2.3.5 and wxPython2.5.3.1 (check with import wx;wx.VERSION). Stani -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.st

[Pythonmac-SIG] help needed with py2app for self updating application

2006-04-21 Thread SPE Stani's Python Editor
Hi, I need to do my first experiment with py2app. I creating a GUI program with wxPython which will be distributed for Mac and Windows. The audience of the program is not technical at all (eg they've never heard about Python), so everything should go automatically. The program should be able to u

Re: [Pythonmac-SIG] Help

2006-04-11 Thread Bill Janssen
> --unless you want to write cross-platform-capable GUI programs. Then > you're best off using wxPython, which isn't available as Universal > yet, though probably soon. Or Jython with Swing (my personal choice for portable GUIs). Bill ___ Pythonmac-

Re: [Pythonmac-SIG] Help

2006-04-11 Thread Louis Pecora
> >> I am new to Python and find it fascinating but am having a >> difficult time finding out how to >> install it on my imac system. My operating system is Mac OSX 10.4. >> Any suggestion for a newbie? >> >> Many thanks. >> >> Mark >> ___ >>

Re: [Pythonmac-SIG] Help

2006-04-11 Thread Charles Hartman
--unless you want to write cross-platform-capable GUI programs. Then you're best off using wxPython, which isn't available as Universal yet, though probably soon. So for the moment, the current non-Universal (PPC) 2.4 is the more prudent bet. Charles Hartman On Apr 11, 2006, at 6:48 AM

Re: [Pythonmac-SIG] Help

2006-04-11 Thread Todd O'Bryan
www.python.org Find the Universal Mac OSX binary and install it. That's about it. Todd On Apr 10, 2006, at 7:15 AM, Mark Maly wrote: > I am new to Python and find it fascinating but am having a > difficult time finding out how to > install it on my imac system. My operating system is Mac OSX

[Pythonmac-SIG] Help

2006-04-11 Thread Mark Maly
I am new to Python and find it fascinating but am having a difficult time finding out how to install it on my imac system. My operating system is Mac OSX 10.4. Any suggestion for a newbie? Many thanks. Mark ___ Pythonmac-SIG maillist - Pythonmac-SI

Re: [Pythonmac-SIG] help about python frameworks in blender

2005-08-21 Thread Bob Ippolito
On Aug 15, 2005, at 5:06 AM, Jean-Luc Peurière wrote: > Hello, > > I'm the Os X platform manager for blender (3D app, see > www.blender.org), and we are facing some problems about embedding last > version of python in it. > > Until now, we were using python 2.3 which meant that we statically > li

[Pythonmac-SIG] help about python frameworks in blender

2005-08-21 Thread Jean-Luc Peurière
Hello, I'm the Os X platform manager for blender (3D app, see www.blender.org), and we are facing some problems about embedding last version of python in it. Until now, we were using python 2.3 which meant that we statically linked the Os X 10.2 build with a fink installed python, and used

Re: [Pythonmac-SIG] Help - MacPython stopped running

2005-01-08 Thread Jack Jansen
On 7-jan-05, at 18:23, Marshall Labow wrote: Can anyone help me? I am running Panther (10.3.7) and installed the upgrade to Python 2.3 (MacPython IDE) and it worked for a few days. Now when I attempt to load the program, the splash screen appears for a few seconds and then disappears without the

[Pythonmac-SIG] Help - MacPython stopped running

2005-01-08 Thread Marshall Labow
Can anyone help me? I am running Panther (10.3.7) and installed the upgrade to Python 2.3 (MacPython IDE) and it worked for a few days. Now when I attempt to load the program, the splash screen appears for a few seconds and then disappears without the finder ever showing Python IDE as being acti

Re: [Pythonmac-SIG] Help in easy way to hide Tk console window

2005-01-07 Thread Read Roberts
Addendum: If the Tcl/Tk framework decides that it does not need to open a Tcl console window, then the commands below fail with an exception "TclError". In my case, the console window is not put up when I run my script from the Mac OSX Terminal window with "pythonw GMT.py", but it is put up wh

Re: [Pythonmac-SIG] Help in easy way to hide Tk console window

2005-01-07 Thread Read Roberts
Daniel Steffen answered this from the tcl-mac group: import Tkinter root=Tkinter.Tk() root.tk.call('console','hide') or root.tk.call('after','idle','console','hide') At 10:03 PM -0800 1/6/05, Read Roberts wrote: I succeeded in fixing a problem with displaying Kanji

[Pythonmac-SIG] Help in easy way to hide Tk console window

2005-01-06 Thread Read Roberts
I succeeded in fixing a problem with displaying Kanji in my Tkinter-based app under Mac OSX 10.2.8. by building Tcl/Tk 8.4.9. with the patch: http://sourceforge.net/tracker/index.php?func=detail&aid=638966&group_id=12997&atid=312997 Now however, when I run by bundle app made with buildapp.py,