Opened 9 years ago

Closed 9 years ago

#4418 closed task (fixed)

Thandy distribution

Reported by: chiiph Owned by: nickm
Priority: Medium Milestone:
Component: Archived/Thandy Version:
Severity: Keywords:
Cc: erinn Actual Points:
Parent ID: #4460 Points:
Reviewer: Sponsor:


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.



Child Tickets

Change History (2)

comment:1 Changed 9 years ago by chiiph

Parent ID: #4460

comment:2 Changed 9 years ago by chiiph

Resolution: fixed
Status: newclosed

Ok, we'll use PyInstaller. If someone has a different opinion, please reopen.

Note: See TracTickets for help on using tickets.