[PyInstaller] Relative imports (and unifying mf with iu)

2008-07-16 Thread Hartmut Goebel
it be a good idea to unify them (make mf reuse iu where possible.) -- Schönen Gruß - Regards Hartmut Goebel Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de smime.p7s Description: S/MIME Cryptographic Signature

[PyInstaller] Re: Relative imports (and unifying mf with iu)

2008-07-16 Thread Hartmut Goebel
Giovanni Bajo schrieb: Did you try PyInstaller trunk? Yes. This supports absolute imports (according to changelog), but relative ones do not work. -- Schönen Gruß - Regards Hartmut Goebel Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de

[PyInstaller] How to add a trac-user?

2008-07-23 Thread Hartmut Goebel
Hi, I want to add my own user to trac for submitting issues more easily. How can I do that? -- Schönen Gruß - Regards Hartmut Goebel Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de smime.p7s Description: S/MIME Cryptographic Signature

[PyInstaller] Re: Supporting pkg_resource using Eggs

2008-08-25 Thread Hartmut Goebel
it into PyInstaller. In terms of integrating with the collection stage, it is possible to [...] If you could provide an snippet, I'll happily integrate it. Still I do not understand the internals of setuptools/pkg_resource. -- Schönen Gruß - Regards Hartmut Goebel Dilp.-Informatiker (univ.), CISSP Goebel

[PyInstaller] Re: Executable only running on Build computer

2008-10-21 Thread Hartmut Goebel
http://svn.pyinstaller.python-hosting.com/trunk pyinstaller * the hook depends on whether PyQT 3 or PyQT 4 is used. * list of hooks: http://pyinstaller.python-hosting.com/browser/trunk/hooks/ Hope this helps. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP Goebel Consult

[PyInstaller] Re: Tweaks to current code: remove spurious warnings, update ignores etc.

2008-11-03 Thread Hartmut Goebel
Jamie Kirkpatrick schrieb: Please find enclosed a diff I ran just now on the tree as it stands Thanks. Please file an issue in the issue tracker, so this does not get lost until somebody has time to integrate the patch. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ

[PyInstaller] Re: Changing python version and reconfiguring

2009-02-18 Thread Hartmut Goebel
obvious. Go on! -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de smime.p7s Description: S/MIME Cryptographic Signature

[PyInstaller] RPMs/Debs of pyinstaller?

2011-01-04 Thread Hartmut Goebel
: is pyinstaller included in any of the major distributions? If not so, I would propose setting a a packaging project at Open Build Service (build.suse.org). This would allow building packages for several distributions, both .rpm and .deb. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ

Re: [PyInstaller] RPMs/Debs of pyinstaller?

2011-01-04 Thread Hartmut Goebel
There will be some work to be done to ease patching the pathes with in the pyinstaller files (HOME will not be enough). But this is just a bit of cleanup which should be done anyway. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für

Re: [PyInstaller] RPMs/Debs of pyinstaller?

2011-01-04 Thread Hartmut Goebel
/cross_distribution_package_how_to ). This is the Open Build Service I'm talking about. Do you have experience with this and can you help? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http

Re: [PyInstaller] RPMs/Debs of pyinstaller?

2011-01-04 Thread Hartmut Goebel
Am 04.01.2011 21:11, schrieb Simone: No experience, sorry. Just saved it in the favourites in firefox for the future. If I shall learn how to use it in the future I'll be glad to help. So I need to work it out myself :-( -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ

Re: [PyInstaller] RPMs/Debs of pyinstaller?

2011-01-05 Thread Hartmut Goebel
the draft is done. Beside of this: what's your suggestion for the filenames (irrespective version suffixes)? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche

Re: [PyInstaller] RPMs/Debs of pyinstaller?

2011-01-11 Thread Hartmut Goebel
Am 04.01.2011 22:29, schrieb Hartmut Goebel: So I need to work it out myself :-( Meanwhile I spend quite some time packaging PyInstaller. The result can be found at https://build.opensuse.org/project/show?project=home%3Ahtgoebel%3Apyinstaller For those running SuSE-Systems, please have a look

Re: [PyInstaller] sys.getfilesystemencoding() always returns None

2011-01-22 Thread Hartmut Goebel
can not reproduce this. Please check your environment is set up correctly by adding these lines to your script: import pprint, os pprint.pprint(dict(os.environ)) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

Re: [PyInstaller] Proposal: Restructuring directory

2011-01-23 Thread Hartmut Goebel
- Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de smime.p7s Description: S/MIME

Re: [PyInstaller] sys.getfilesystemencoding() always returns None

2011-01-25 Thread Hartmut Goebel
not a locale guru. If this fails, too, it may be something very tricky. Please try to debug both python fse.py and ./fse via strace. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http

[PyInstaller] Code restructuring finished

2011-02-04 Thread Hartmut Goebel
become much shorter :-) * Most PyInstaller modules are now in a package/directory PyIninstallier/ * Some common variables have been but into module PyInstaller (I may not have done all yet) Occasionally I removed some pre-2.2 stuff. -- Schönen Gruß - Regards Hartmut Goebel Dipl

Re: [PyInstaller] Hook for ZeroMQ

2011-02-13 Thread Hartmut Goebel
). Which is it? Nevertheless I just added this hook-file to subversion. Please test. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http

Re: [PyInstaller] Runs on Windows 7, but fails on XP

2011-02-24 Thread Hartmut Goebel
is missing or can not be loaded. BTW: This import is conditional, but not hidden. PyInstaller handles conditional imports quite fine, since it looks for *all* import statements in all Python modules it can get it's hands on. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP

Re: [PyInstaller] Binary dependencies: Whitelisting on Windows a better approach? (Was: Runs on Windows 7, but fails on XP)

2011-02-25 Thread Hartmut Goebel
not install dlls into \windows for quite some ears now, this should not be a problem. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-02-28 Thread Hartmut Goebel
are meant to be run from the PyInstaller main directory. This should work, if the current directory is on your $PYTHONPATH. Changing the scripts and hacking sys.path is not a good idea. You should use $PYTHONPATH for this. This is what it is meant for. -- Schönen Gruß - Regards Hartmut Goebel Dipl

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-02-28 Thread Hartmut Goebel
from the PyInstaller main directory like this: python utils\bindepend.py BTW: pyinstaller.py does not use any any binary, but uses modules imported from package PyInstaller (which is located in directory PyInstaller) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-01 Thread Hartmut Goebel
/__init__.py import PyInstaller.bindepend # from PyInstaller/bindepend.py -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de/blog Monatliche Kolumne: http://www.cissp

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-01 Thread Hartmut Goebel
Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de smime.p7s Description

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-01 Thread Hartmut Goebel
Am 01.03.2011 19:30, schrieb Florian Höch: Am 01.03.2011 15:43, schrieb Hartmut Goebel: What is the output if you are running python -v utils\bindepend.py (Should that file exist there? In my local copy and also in SVN, it's in PyInstaller) Sorry, this should have been on of the scripts, e.g

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-01 Thread Hartmut Goebel
Am 01.03.2011 20:22, schrieb Florian Höch: python -v utils\Build.py Ah, ok. Please mind the -v switch. I want to see, where your python looks for PyInstaller.build. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-02 Thread Hartmut Goebel
Am 02.03.2011 00:17, schrieb Florian Höch: Am 01.03.2011 21:17, schrieb Hartmut Goebel: Am 01.03.2011 20:22, schrieb Florian Höch: python -v utils\Build.py Ah, ok. Please mind the -v switch. I want to see, where your python looks for PyInstaller.build. Ok, here is the complete output

Re: Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-02 Thread Hartmut Goebel
Am -10.01.-28163 20:59, schrieb Hartmut Goebel: *So I can only imagine, either the current dir is different or sys.path is different.* Okay, I think, I found the reason: http://bytes.com/topic/python/answers/608227-2-4-2-5-current-directory-change Explains it well. This works fine here, since I

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-02 Thread Hartmut Goebel
Am 02.03.2011 11:26, schrieb Hartmut Goebel: Then we'll think about a solution :-) Florian, I think I have a quite proper solution: Please add these lines to the top of Build.py and try again: try: import PyInstaller except ImportError: import imp, os

[PyInstaller] Moving hooks into PyInstaller?

2011-03-02 Thread Hartmut Goebel
/msg/913039c7c012166a?hl=en -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de/blog Monatliche Kolumne: http://www.cissp-gefluester.de/aktuelle Goebel Consult mit

Re: [PyInstaller] Running bindepend.py and 'utils' scripts - broken in current trunk

2011-03-02 Thread Hartmut Goebel
Am 02.03.2011 16:37, schrieb Florian Höch: Yes, it's working now :) Glad am I :-) I'll be implementing such in all the scripts the next days. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen

Re: [PyInstaller] W: Cannot get binary dependencies for file:

2011-03-05 Thread Hartmut Goebel
the glob.glob() call to my system Pardon? What do you mean? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult

Re: [PyInstaller] Cross compiling from Linux to Windows: Wine?

2011-04-14 Thread Hartmut Goebel
-*-setup.exe -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de

Re: [PyInstaller] Re: Cross compiling from Linux to Windows: Wine?

2011-04-14 Thread Hartmut Goebel
Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de smime.p7s Description: S/MIME

Re: [PyInstaller] Problem with trunk

2011-04-25 Thread Hartmut Goebel
did not use appdirs, but re-implemented the logic in PyInstaller/__init__.py. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp

Re: [PyInstaller] Problem with trunk

2011-04-25 Thread Hartmut Goebel
Am 25.04.2011 17:35, schrieb Martin Zibricky: %APPDATA%\PyInstaller\PyInstaller IMHO: appauthor should be pyinstaller.org But I would not include appdir anyway. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

Re: [PyInstaller] Problem with trunk

2011-04-26 Thread Hartmut Goebel
, since config.dat is not really a preferences file. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult

Re: [PyInstaller] Re: Libssl error on code between Ubuntu and Redhat

2011-04-26 Thread Hartmut Goebel
a PyInstaller binary. Try simply copying your files there. If some Python package is missing, try installing it into your home directory (python setup.py install --home=~). -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

Re: [PyInstaller] how do i use PyInstaller to compile something with another python script?

2011-04-30 Thread Hartmut Goebel
). Is there a way i can somehow import PyInstaller as a module and run it from inside my script Yes. Just have a look into pyinstaller.py and rebuild it's mimic. It should be quite easy. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

Re: [PyInstaller] Error when running executable

2011-05-03 Thread Hartmut Goebel
(title, message): dialogs.info_dialog(title, message) available['WinSys'] = winsys except ImportError: pass -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http

Re: [PyInstaller] [ANN] PyInstaller 1.5

2011-05-06 Thread Hartmut Goebel
Am 05.05.2011 15:01, schrieb Martin Zibricky: I'm happy to announce PyInstaller 1.5. Thanks for releasing. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de

Re: [PyInstaller] PyInstaller butterfly icon

2011-05-07 Thread Hartmut Goebel
Am 07.05.2011 14:22, schrieb Florian Höch: Ah, yes. What do you think of this draft? (I went for a different more stylized look, with similarities to the python.org logo) I like them. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult

Re: [PyInstaller] How to include a large number of data files?

2011-05-07 Thread Hartmut Goebel
in whatever Python code you like. As Mathan already suggested, glob could be your friend. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http

Re: [PyInstaller] PyInstaller butterfly icon

2011-05-09 Thread Hartmut Goebel
- Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de smime.p7s Description: S

Re: [PyInstaller] status of branches

2011-05-09 Thread Hartmut Goebel
Am 07.05.2011 00:25, schrieb Martin Zibricky: What is the purpose and status of them? Sorry, I do not have an information about any of the branches. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen

Re: [PyInstaller] PyInstaller butterfly icon

2011-05-10 Thread Hartmut Goebel
quite like. However, most argue to keep the floppy as an iconic icon even if the technology is no longer relevant, and they're good arguments. Very interesting discussion. Thanks for sharing the links :-) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel

[PyInstaller] Replacement for wkhtmltopdf to build PDF-docs?

2011-05-10 Thread Hartmut Goebel
and will not include any backdoor. So I'm looking for a replacement for wkhtmltopdf. Any suggestions? I found http://rst2pdf.googlecode.com/ but did not yet test it. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

[PyInstaller] How-to Release document?

2011-05-10 Thread Hartmut Goebel
What do you think? Should the become part of the sources or go into the wiki? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp

Re: [PyInstaller] error importing PIL

2011-05-17 Thread Hartmut Goebel
source kit and in SVN (both trunk and 1.1.7). Can you please check whether PIL.pth is in you site-packages directory. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de

Re: [PyInstaller] missing file in latest trunk [1406]

2011-05-17 Thread Hartmut Goebel
Am 17.05.2011 09:44, schrieb Martin Zibricky: I also vote for 'support'. Just checked it in. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne

Re: [PyInstaller] error importing mf (on Windows)

2011-05-17 Thread Hartmut Goebel
. This would be much easier to handle. Or even better: Check in yourself :-) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp

Re: [PyInstaller] error importing PIL

2011-05-17 Thread Hartmut Goebel
by Python. A test on my system shows all these are working: $ python -c 'import Image' $ python -c 'import PIL.Image' $ python -c 'from PIL import Image' -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen

Re: [PyInstaller] Re: error importing PIL

2011-05-17 Thread Hartmut Goebel
. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de smime.p7s

Re: [PyInstaller] getting GDCM to work (on Mac)

2011-05-17 Thread Hartmut Goebel
are typical Unix paths, while OS X used pathes like /Library/Frameworks. Nevertheless it looks as if we need to support these paths :-( -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http

Re: [PyInstaller] psychopg2 (was: Problem with SQLAlchemy)

2011-05-17 Thread Hartmut Goebel
imports in hook-psycopg2.py, but nothing changed. psycopyg2._psycopg is no hidden import, but clearly stated in psycopg2/__init__.py. Thus adding to the hidden imports will not help. The source of your problem must lay somewhere else. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ

Re: [PyInstaller] existing config causes errors on new checkout

2011-05-17 Thread Hartmut Goebel
, there is no need for the config.dat at all. So in this case we should get rid of it. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http

Re: [PyInstaller] Re: psychopg2

2011-05-18 Thread Hartmut Goebel
check if it is contained in the .exe if you are using this test program: from sqlalchemy import * import psycopg2 -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel

Re: [PyInstaller] PYTHONPATH

2011-05-18 Thread Hartmut Goebel
should run on a system without any Python installed at all, it must be self contained. Thus no PYTHONPATH at run-time. Please use ArchiveViewer to see whether the required wx modules are included in the binary. If not, you'll have to find out why. -- Schönen Gruß - Regards Hartmut Goebel Dipl

Re: [PyInstaller] Re: Module accesses data using __file__

2011-05-21 Thread Hartmut Goebel
to obfuscate the __file__ variable for the sphinx.pycode module. perhaps the function __import__ could do the job This sounds like a bad hack. I suppose it is working in one-dir mode (not tested, though) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel

Re: [PyInstaller] investigate using macholib

2011-05-24 Thread Hartmut Goebel
with pyside and shiboken. As far as I understood, this includes all libs which's name contains pyside or shiboken. We should use the already implemented include mechanism for that. Simply add a regex to the (yet empty) includes dict. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker

Re: [PyInstaller] Re: Module accesses data using __file__

2011-05-25 Thread Hartmut Goebel
easier and lasting. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7

Re: [PyInstaller] [one-file mode] write back to data files possible?

2011-06-14 Thread Hartmut Goebel
has not changed, there will be no config will in the users directory. The path to the Application Data folder is returned by os.environment['APPDATA']. You may want to have a look at PyInstall/__init__.py for how we honour different platforms in pyinstaller. -- Schönen Gruß - Regards Hartmut

Re: [PyInstaller] Replacement for wkhtmltopdf to build PDF-docs?

2011-06-15 Thread Hartmut Goebel
. Unfortunately the documentation for rst2odf is sparse, but maybe you can adjust some parameters. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne

Re: [PyInstaller] Re: pyinstaller

2011-06-16 Thread Hartmut Goebel
of the later, please share your experiences here. :-) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit

Re: [PyInstaller] Reload a pyd module in a frozen app

2011-07-10 Thread Hartmut Goebel
--onedir or --onefile? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www

Re: [PyInstaller] Reload a pyd module in a frozen app

2011-07-11 Thread Hartmut Goebel
replacing the module by a new version. Why do you want t reload the module at all, if it is unchanged? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche

Re: [PyInstaller] Reload a pyd module in a frozen app

2011-07-11 Thread Hartmut Goebel
Am 11.07.2011 21:36, schrieb Lomy Vic: It's about fill a pdf with data dynamical ! Again: Why do you need to reload the Python module, say: the program code? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

[PyInstaller] Drop compatibility for Python 2.3?

2011-07-25 Thread Hartmut Goebel
with Python 2.3? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7

[PyInstaller] Re: drop Python 2.2 compatibility

2011-07-25 Thread Hartmut Goebel
. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de smime.p7s

Re: [PyInstaller] Drop compatibility for Python 2.3?

2011-07-26 Thread Hartmut Goebel
using older Python versions. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http

Re: [PyInstaller] Drop compatibility for Python 2.3?

2011-07-26 Thread Hartmut Goebel
be written at least in Python 2.6 and existing project can still use PyInstaller 1.5. just my 5 cent. ** -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche

Re: [PyInstaller] Drop compatibility for Python 2.3?

2011-07-27 Thread Hartmut Goebel
no Win-User, so I can not tell wether this is a problem. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel

Re: [PyInstaller] Drop compatibility for Python 2.3?

2011-07-27 Thread Hartmut Goebel
feature which makes live easier?) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei

[PyInstaller] Can we remove the sys.pathex hack?

2011-07-28 Thread Hartmut Goebel
changing sys.pathex into PyInstaller.hooks.hookutils.pathex since it is only used in the hooks. Any opinion? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche

Re: [PyInstaller] Starting with pyInstaller

2011-07-31 Thread Hartmut Goebel
Am 30.07.2011 22:16, schrieb bluewin: How can I fix this and receive a hello.exe file that works? These are only warnings. You should find the exe in dist/ or in hello/dist/ (if working in the installation directory) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP

Re: [PyInstaller] manual - pyinstaller.py

2011-08-03 Thread Hartmut Goebel
Am 29.06.2011 23:51, schrieb Martin Zibricky: I updated manual with the information how to use pyinstaller.py: Thanks for updating. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http

Re: [PyInstaller] flask/werkzeug hooks

2011-08-16 Thread Hartmut Goebel
Am 15.08.2011 21:46, schrieb Carsten Grohmann: Do you really change the global hiddenimports array in the spec file? How did you do it? You should not change it, even if it's possible, it's not part of the API. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP

[PyInstaller] Re: directly pass hidden imports to Analysis()

2011-08-16 Thread Hartmut Goebel
implement it. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de

Re: [PyInstaller] Understanding import behaviour

2011-08-20 Thread Hartmut Goebel
Am 19.08.2011 21:00, schrieb Carsten Grohmann: The hidden import doesn't work in this scenario. Could you explain shortly why Sorry, I'm missing a link here. Did you already explain what you mean with hidden import doesn't work? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker

Re: [PyInstaller] Re: import hashlib, ERROR:root:code for hash md5 was not found

2011-09-12 Thread Hartmut Goebel
installation. Normal Python installations should not require suid mode. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de

Re: [PyInstaller] Re: Avoiding unnecessary work on build

2011-09-15 Thread Hartmut Goebel
building in dependency checking. But if you like to implement this, you are welcome :-) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http

Re: [PyInstaller] socket.getaddrinfo() crashes

2011-09-17 Thread Hartmut Goebel
' glibc-2.11.1-8.2mnb2 And perhaps quite some more which belong to glibc: ld-linux.so.* libBrokenLocale.so.* libanl.so.* libcidn.so.* libcrypt.so.* libnsl.so.* libnss_*so.* libresolv.so.* libutil.so.* -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult

Re: [PyInstaller] NameError: global name 'zipfile' is not defined

2011-09-22 Thread Hartmut Goebel
Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult ist Mitglied bei http://www.7-it.de -- You received this message

[PyInstaller] Switching to logging-module?

2011-09-27 Thread Hartmut Goebel
been backported to older versions. What do you think? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel

Re: [PyInstaller] replace os.system() with subprocess module (ticket #372)

2011-09-27 Thread Hartmut Goebel
string while subprocess.Popen() expects an array of arguments. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de

Re: [PyInstaller] replace os.system() with subprocess module (ticket #372)

2011-09-27 Thread Hartmut Goebel
Am 27.09.2011 22:44, schrieb Martin Zibricky: Hartmut Goebel píše v Út 27. 09. 2011 v 22:40 +0200: You probably mean the other way round, since os.system takes a dump string while subprocess.Popen() expects an array of arguments. The function wrapping os.system/subprocess modules would accent

Re: [PyInstaller] logging MY application's stderr in runtime

2011-10-04 Thread Hartmut Goebel
and/or display a message box using the OS native GUI support, possibly through a different process not to create weird interactions with any running GUI in the user's application. Added a ticket for this: http://www.pyinstaller.org/ticket/430 -- Schönen Gruß - Regards Hartmut Goebel Dipl

Re: [PyInstaller] big project with a lot of eggs

2011-10-06 Thread Hartmut Goebel
of the maintainers for doing this. ;-) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult ist Mitglied

Re: [PyInstaller] Re: Care to share your numpy or OpenCV import hacks?

2011-10-07 Thread Hartmut Goebel
://www.pyinstaller.org/ticket/182 and the attachment. (I can not test it myself, since I have no Windows machine at hand). -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel

[PyInstaller] Bug in hook-xml?

2011-10-10 Thread Hartmut Goebel
): txt = txt + 'c' co = marshal.loads(open(txt, 'rb').read()[8:]) old_pth = mod.__path__[:] -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de

Re: [PyInstaller] Re: Multiprocessing code fails when using a onefile executable on win32

2011-10-13 Thread Hartmut Goebel
Am 11.10.2011 00:49, schrieb Martin Zibricky: PYTHONPATH=--dummy-;Z:/tmp/pyi_trunk/test_multiprocess_2.2/dist/test_multiproces s_2.2 IC, this is a lace I've overseen since I was grepping for _MEIPASS2 -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel

Re: [PyInstaller] Re: Multiprocessing code fails when using a onefile executable on win32

2011-10-13 Thread Hartmut Goebel
Am 11.10.2011 15:42, schrieb Martin Zibricky: I tried to set _MEIPASS2 to os.path.dirname(os.path.abspath(sys.executable)) and it seems to work correctly. Great. Thanks for debugging. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist

Re: [PyInstaller] Re: Multiprocessing code fails when using a onefile executable on win32

2011-10-13 Thread Hartmut Goebel
Am 11.10.2011 15:42, schrieb Martin Zibricky: I tried to set _MEIPASS2 to os.path.dirname(os.path.abspath(sys.executable)) and it seems to work correctly. Documented in http://www.pyinstaller.org/wiki/Recipe/Multiprocessing -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ

Re: [PyInstaller] Re: pyinstaller with imp.find_module or imp.load_module

2011-10-13 Thread Hartmut Goebel
and generate the TOC. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult ist Mitglied bei http://www.7-it.de

Re: [PyInstaller] Re: pyinstaller with imp.find_module or imp.load_module

2011-10-13 Thread Hartmut Goebel
in plugins: p = Analysis(p, ...) pyz.extend(p.pure) plugins.append(p) ... collect = COLLECT(, plugins.scripts, plugins.zipfiles, plugins.data, ...) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen

Re: [PyInstaller] how to put a non-python file in pyz?

2011-10-14 Thread Hartmut Goebel
this is not how it is meant to work. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult ist Mitglied bei http

Re: [PyInstaller] Re: Multiprocessing code fails when using a onefile executable on win32

2011-10-14 Thread Hartmut Goebel
Am 13.10.2011 23:48, schrieb Martin Zibricky: This works. I'll update the recipe. Fine. I think we have a working example Please mind closing #182 then, -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit

Re: [PyInstaller] how to put a non-python file in pyz?

2011-10-14 Thread Hartmut Goebel
would be to COLLECT() the whole mayavi package manually, after excluding it on Analysis(). Thus it will be extracted to the installation- resp. temp.-directory. You'll may have to hack sys.path. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult

Re: [PyInstaller] Re: Multiprocessing code fails when using a onefile executable on win32

2011-10-14 Thread Hartmut Goebel
Am 14.10.2011 14:58, schrieb Martin Zibricky: what about the sys._MEIPASS I forgot. Unfortunalty I'm not the C-programmer in our team ;-) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http

Re: [PyInstaller] Re: Multiprocessing code fails when using a onefile executable on win32

2011-10-15 Thread Hartmut Goebel
forgot. Unfortunalty I'm not the C-programmer in our team ;-) Me too : *calling* Givnnii ;-) -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche

  1   2   3   4   5   6   7   >