File: setup_py2exe.py

package info (click to toggle)
obfsproxy 0.2.13-2%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 640 kB
  • sloc: python: 4,568; makefile: 11; sh: 8
file content (21 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/obfsproxy"],
    zipfile="obfsproxy.zip",
    options={
        "build": {"build_base": build_path},
        "py2exe": {
            "includes": ["twisted", "pyptlib", "Crypto", "parsley", "txsocksx"],
            "dist_dir": dist_path,
        }
    }
)