Re: [PyInstaller] Create an exe of a PySide application which uses django ORM

74 views
Skip to first unread message

Hartmut Goebel

unread,
Oct 6, 2012, 5:30:36 AM10/6/12
to pyins...@googlegroups.com
Am 06.10.2012 11:13, schrieb Abraham Yusuf:
when I attempt to generate the exe pyinstaller raises an exception on line 36 in pyinstaller.PyInstaller.hooks.hook-django.py.


What is the exact error message?


--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP

Goebel Consult
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/2011-09-kommerz-uber-recht-fdp-die-gefaellt-mir-partei
Blog: http://www.goebel-consult.de/blog/200505010

Goebel Consult ist Mitglied bei http://www.7-it.de/

Abraham Yusuf

unread,
Oct 8, 2012, 2:57:28 AM10/8/12
to pyins...@googlegroups.com

Here is the error message: "No django root directory found. Please check your pathex definition in the project spec file."
Thanks for the timely response.

Hartmut Goebel

unread,
Oct 8, 2012, 5:57:22 PM10/8/12
to pyins...@googlegroups.com
Am 08.10.2012 08:57, schrieb Abraham Yusuf:

Here is the error message: "No django root directory found. Please check your pathex definition in the project spec file."

So his is quite clear: You need to check your pathex definition in the project spec file. :-)

If you do not have a pathex, this looks as if you would need one. Please refer the the manual about this.

--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP

Goebel Consult
http://www.goebel-consult.de

Abraham Yusuf

unread,
Oct 11, 2012, 2:05:28 PM10/11/12
to PyInstaller
I truly appreciate your time. But I've no idea what the pathex should
be so here is my project tree if you'd help me with the path to add to
the pathex.
mygui/
--db/
----models.py
--profile/
--stocks/
--orders/
--sales/
--main.py
--settings.py
--manage.py
--urls.py
main.py is the main execution script, while manage.py and urls.py are
put there to satisfy pyinstaller.PyInstaller.hooks.hook-django.py

Abraham Yusuf

unread,
Oct 19, 2012, 7:18:34 PM10/19/12
to PyInstaller
Hi Alex,
Thanks a bunch, I'll check it out ASAP.
Cheers!
-ab.

On Oct 15, 7:45 pm, Alex Sandro <geniofut...@gmail.com> wrote:
> Hello. I can compile an application with django 1.4, successfully.
> For this i use a modified version of PyInstaller.
>
> Follow the link if your interested:https://dl.dropbox.com/u/67269258/pyinstaller.rar
> Take a look at the structure of my project:https://github.com/alexsilva/BaixeAssista
>
> Looking like my project was structured, you can successfully compile your.
> I could use the database and server development. But you

Abraham Yusuf

unread,
Oct 19, 2012, 7:18:55 PM10/19/12
to PyInstaller
Reply all
Reply to author
Forward
0 new messages