[tor-commits] [flashproxy/master] Add py2exe setup.py.

dcf at torproject.org dcf at torproject.org
Fri Mar 15 06:34:13 UTC 2013


commit 1e0461f5ed8d404351c8a10658dd3303928c019f
Author: Alexandre Allaire <alexandre.allaire at mail.mcgill.ca>
Date:   Mon Mar 11 19:15:59 2013 -0700

    Add py2exe setup.py.
    
    Add a distutils script to run py2exe on client programs.
---
 setup.py |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..164a671
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,18 @@
+from distutils.core import setup
+import os
+import py2exe
+
+build_path = os.path.join(os.environ["PY2EXE_TMPDIR"], "build")
+dist_path = os.path.join(os.environ["PY2EXE_TMPDIR"], "dist")
+
+setup(
+    console=["flashproxy-client", "flashproxy-reg-email", "flashproxy-reg-http"],
+    zipfile="flashproxy.zip",
+    options={
+        "build": { "build_base": build_path },
+        "py2exe": { 
+            "includes": ["M2Crypto"],
+            "dist_dir": dist_path
+        }
+    }
+)





More information about the tor-commits mailing list