[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 1e0461f5ed8d404351c8a10658dd3303928c019f
Author: Alexandre Allaire <alexandre.allaire@xxxxxxxxxxxxxx>
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
+        }
+    }
+)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits