Project

General

Profile

Actions

Building

The tool building is based on the pyInstaller

Windows

  1. Install Python 3.* interpreter and pip from here
  2. From command prompt install pyinstaller package.
    pip3 install PyInstaller
    
  3. Go to the tool sources folder.
  4. Run the following command:
    pyinstaller src\traceutils\trace_matcher.py --distpath build\target -n traceutils --add-data "LICENSE;." --add-data "README.md;." --add-data "ChangeLog.md;." -p "src\traceutils\;src\traceutils\record\" 
    
  5. Go to the build\target subdirectory and zip the result.

Linux

  1. Install Python 3.* interpreter.
  2. Install pip from here
  3. Install pyInstaller as follows:
    pip3 install PyInstaller
    
  4. Go to the traceutils project folder.
  5. Run the following command:
    pyinstaller src/traceutils/trace_matcher.py --distpath ./build/target -n traceutils --add-data 'LICENSE:.' --add-data 'README.md:.' --add-data 'ChangeLog.md:.' -p 'src/traceutils/:src/traceutils/record/'
    
  6. Go to the build/target subdirectory and zip the result.

Updated by Sergey Smolov 12 months ago · 16 revisions