[chronojump/chronojump-importer] Now py2exec will find the chronojump_importer.py file.
- From: Carles Pina i Estany <carlespina src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/chronojump-importer] Now py2exec will find the chronojump_importer.py file.
- Date: Mon, 26 Sep 2016 22:53:15 +0000 (UTC)
commit 297341b5ed33a3bc6b402adab58d3150596f556b
Author: Carles Pina i Estany <carles pina cat>
Date: Tue Sep 27 00:52:52 2016 +0200
Now py2exec will find the chronojump_importer.py file.
.../py2exec_chronojump_importer.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/chronojump-importer/py2exec_chronojump_importer.py
b/src/chronojump-importer/py2exec_chronojump_importer.py
index b54f239..2d2b422 100644
--- a/src/chronojump-importer/py2exec_chronojump_importer.py
+++ b/src/chronojump-importer/py2exec_chronojump_importer.py
@@ -1,4 +1,8 @@
from distutils.core import setup
import py2exe
+import os
-setup(console=['chronojump_importer.py'])
+directory=os.path.dirname(os.path.abspath(__file__))
+chronojump_importer_path=os.path.join(directory, "chronojump_importer.py")
+
+setup(console=[chronojump_importer_path])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]