[tor-bugs] #4418 [Thandy]: Thandy distribution
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Nov 7 11:41:46 UTC 2011
#4418: Thandy distribution
--------------------+-------------------------------------------------------
Reporter: chiiph | Owner: nickm
Type: task | Status: new
Priority: normal | Milestone:
Component: Thandy | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------+-------------------------------------------------------
I'm opening this ticket to discuss how Thandy will be distributed.
The idea is to have ClientCLI as a binary, we don't need to distribute the
rest (imo), and it's the only CLI that the bootstrap app uses.
So I did a little searching, and I bumped into PyInstaller [1]
It seems to be the most actively maintained binary distributor for Python
that exists, and it can be used for all our three main platforms.
I've tested this with OSX, and it seems to work perfectly, the only
setback is the way json is imported: you need to have an explicit "import
json" (or simplejson) line to make PyInstaller to bundle json properly.
But given that this will be executed in one of our machines, I don't see
the problem, we can leave the nice importJSON() function for everybody,
and change it when we make the bundle binary.
I was thinking that the best way would be to bundle python "by hand",
specially since we need the python executable for the Thp scripts, but now
that I've found a way around that last part (#4414), we can use an
automated app and spare the pain.
Thoughts?
[1] http://www.pyinstaller.org/
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4418>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list