Actions
Building » History » Revision 5
« Previous |
Revision 5/16
(diff)
| Next »
Sergey Smolov, 04/19/2017 11:00 AM
Building¶
The tool building is based on the pyInstaller
Windows¶
- Install Python 2.* interpreter from here
- Install PyWin32 from here
- Get pip-Win Python package manager from here and run it.
- In the pip-Win Command field enter the following:
venv -c -i pyi-env-name
then click Run.
This creates a new virtual environment rooted at C:\Python\pyi-env-name and makes it the current environment. A new command shell window opens in which you can run commands within this environment. Enter the command:pip install PyInstaller
- Once pyInstaller is installed, start pip-Win, in the Command field enter the following:
venv pyi-env-name
then click Run. - Go to the tool sources folder.
- Run the following command:
pyinstaller traceutils\tarmac_trace_matcher.py.py -n traceutils --add-data="LICENSE;." --add-data="README;." -p="traceutils;traceutils\record" -d
- Go to the dist subdirectory and zip the result.
Linux¶
- Get pip installation script from here
- Run the pip installation script as follows:
sudo python get-pip.py
- Install pyInstaller as follows:
sudo pip install pyinstaller
- Go to the tool source folder.
- Run the following command:
pyinstaller traceutils/tarmac_trace_matcher.py -n traceutils --add-data ''LICENSE:.'' --add-data ''README:.'' -p traceutils/:traceutils/record/ -d
- Go to the dist subdirectiry and zip the result.
Updated by Sergey Smolov over 7 years ago · 16 revisions