[Pkg-privacy-commits] [obfsproxy] 132/353: Add py2exe bundling script.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfsproxy.

commit 9b46051cb986747f16a5266e8a90d5488e5bce1b
Author: Alexandre Allaire <alexandre.allaire at mail.mcgill.ca>
Date:   Thu Mar 14 18:12:58 2013 -0700

    Add py2exe bundling script.
---
 setup_py2exe.py | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/setup_py2exe.py b/setup_py2exe.py
new file mode 100644
index 0000000..2245eaa
--- /dev/null
+++ b/setup_py2exe.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+import py2exe
+import os
+
+topdir = "py2exe_bundle"
+build_path = os.path.join(topdir, "build")
+dist_path = os.path.join(topdir, "dist")
+
+setup(
+    console=["bin/pyobfsproxy"],
+    zipfile="pyobfsproxy.zip",
+    options={
+        "build": {"build_base": build_path},
+        "py2exe": {
+            "includes": ["twisted", "pyptlib", "Crypto"],
+            "dist_dir": dist_path,
+        }
+    }
+)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list