[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.10-228-ge8d4a46

X2Go dev team git-admin at x2go.org
Fri Apr 20 00:15:37 CEST 2012


The branch, master has been updated
       via  e8d4a46cf3d46d24f896d23feb4db6806e4b49fd (commit)
      from  a9a9f371037d5eb78ef41f0f6394afbe64da38e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e8d4a46cf3d46d24f896d23feb4db6806e4b49fd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Apr 20 00:15:32 2012 +0200

    Windows packaging: remove dist directory before calling py2exe.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog |    1 +
 setup.py         |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index dc8ed36..ddd53cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -121,6 +121,7 @@ pyhoca-gui (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
       sessions.
     - Only auto-resume if session profile is not configured for published
       applications.
+    - Windows packaging: remove dist directory before calling py2exe.
   * Depend on Python X2Go 0.1.2.0.
   * Install GNOME icons via dh_links.
   * Install X2Go icons with explicit install paths.
diff --git a/setup.py b/setup.py
index b246bef..f1ae0d8 100755
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ elif platform.system() == 'Linux':
     py2exe = object
 
 from glob import glob
+import shutil
 
 from nsis_template import NSIS_SCRIPT_TEMPLATE
 
@@ -112,10 +113,11 @@ class build_installer(py2exe):
 
     def run(self):
 
+        shutil.rmtree(self.dist_dir, ignore_errors=True)
+
         # First, let py2exe do it's work.
         py2exe.run(self)
 
-
         lib_dir = self.lib_dir
         dist_dir = self.dist_dir
 


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list