File: setup-client-exe.py

package info (click to toggle)
flashproxy 1.7-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 936 kB
  • ctags: 876
  • sloc: python: 3,708; sh: 823; makefile: 246; lisp: 15
file content (20 lines) | stat: -rwxr-xr-x 606 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/python
"""Setup file for the flashproxy-common python module."""
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-appspot", "flashproxy-reg-email", "flashproxy-reg-http", "flashproxy-reg-url"],
    zipfile="py2exe-flashproxy.zip",
    options={
        "build": { "build_base": build_path },
        "py2exe": {
            "includes": ["M2Crypto"],
            "dist_dir": dist_path
        }
    }
)