Hey Robert,<br><br><div>It can be done.  I have done it with my Roam project, you can find the setup.py logic here <a href="https://github.com/DMS-Aus/Roam/blob/master/setup.py">https://github.com/DMS-Aus/Roam/blob/master/setup.py</a></div><div><br></div><div>The three main things are:</div><div>   1) Make sure you have a batch file that does path setup and call it before running: python setup.py py2exe. You can see an example at <a href="https://github.com/DMS-Aus/Roam/blob/master/scripts/setenv.bat">https://github.com/DMS-Aus/Roam/blob/master/scripts/setenv.bat</a>  I run this is all my sub scripts when building, etc.  Basically call setenv.bat call python setup.py py2exe</div><div>   </div><div>   2) You need to copy things like qgis provider plugins and resources into the package, you can see that being done here: <a href="https://github.com/DMS-Aus/Roam/blob/master/setup.py#L82">https://github.com/DMS-Aus/Roam/blob/master/setup.py#L82</a> (ignore the mess there)</div><div><br></div><div>   3) You will need to do some path setup before you call QgsApplication or else things will not load correctly: <a href="https://github.com/DMS-Aus/Roam/blob/master/src/roam/environ.py#L107">https://github.com/DMS-Aus/Roam/blob/master/src/roam/environ.py#L107</a></div><div><br></div><div>The Roam code might not be a good example as there is a lot of other things in there but you should be able to make your way though it to work it out.</div><div><br></div><div>- Nathan</div><br><div class="gmail_quote">On Thu Dec 11 2014 at 12:34:47 AM kissa hiri <<a href="mailto:kissa.hiri@gmx.at">kissa.hiri@gmx.at</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>dear community!</div>

<div> </div>

<div>I'm a newbie in mailinglists and qgis. I have progammed a standalone application in python and it works so far. Now I'm trying to make from that an executable file (*.exe) with py2exe (for windows) but I'm not able to include die qgis.core and agis.gui libraries. In the qgis directory I only found the qgis_core.dll and the qgis_gui.dll. Is qgis_core and qgis_gui the same like qgis.core and qgis.gui?</div>

<div> </div>

<div>please, help me.</div>

<div>thanks in advance</div>

<div> </div>

<div>robert</div></div></div>
______________________________<u></u>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-user</a></blockquote></div>