Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #4418

Closed
Open
Opened Nov 07, 2011 by Tomas Touceda@chiiph

Thandy distribution

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 (closed)), we can use an automated app and spare the pain.

Thoughts?

[1] http://www.pyinstaller.org/

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#4418