Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Create statically linked python binary #54

Open
hellais opened this issue Nov 23, 2012 · 3 comments
Open

Create statically linked python binary #54

hellais opened this issue Nov 23, 2012 · 3 comments

Comments

@hellais
Copy link
Contributor

hellais commented Nov 23, 2012

This is a requirement for ooniprobe and it should be part of APAF:

Here is the ticket on the trac page:

https://trac.torproject.org/projects/tor/ticket/7557

@fpietrosanti
Copy link
Contributor

We can use StaticPython:
http://code.google.com/p/pts-mini-gpl/wiki/StaticPython

"StaticPython is a statically linked version of the Python 2.x (currently 2.7.1) and 3.x (currently 3.2) and Stackless Python interpreters and their standard modules for 32-bit (i686, i386, x86) Linux, Mac OS X and FreeBSD systems. It is distributed as single, statically linked 32-bit executable binaries, which contains the Python scripting engine, the interactive interpreter with command editing (readline), the Python debugger (pdb), most standard Python modules (including pure Python modules and C extensions), coroutine support using greenlet and multithreading support. The binary contains both the pure Python modules and the C extensions, so no additional .py or .so files are needed to run it. It also works in a chroot environment. The binary uses uClibc, so it supports username lookups and DNS lookups as well (without NSS)."

We may have it supported with two different procedures, to be documented:

  • One for use/download/import of binaries "as it is"
  • One for build/rebuild for use with additional import libraries

This support should be of use with Debian Packaging on Linux/x86 only.

@ghost ghost assigned mmaker Nov 27, 2012
@fpietrosanti
Copy link
Contributor

Please consider that Static Python does not let you create UI based on QT:
missing: GUI bindings (tkinter, GTK, Qt etc.)

Did we already identified how to technically implement UI elements for APAF on Linux?

@fpietrosanti
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants