Actions
Building » History » Revision 15
« Previous |
Revision 15/16
(diff)
| Next »
Sergey Smolov, 04/05/2023 07:06 PM
Building¶
The tool building is based on the pyInstaller
Windows¶
- Install Python 3.* interpreter and pip from here
- From command prompt install pyinstaller package.
pip3 install PyInstaller
- Go to the tool sources folder.
- 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\"
- Go to the build\target subdirectory and zip the result.
Linux¶
- Get pip installation script from here and install it:
$ sudo apt install curl $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- Run the pip installation script as follows:
sudo python3 get-pip.py
- Install pyInstaller as follows:
pip3 install PyInstaller
- Go to the
traceutils
project folder. - 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/'
- Go to the build/target subdirectory and zip the result.
Updated by Sergey Smolov over 1 year ago · 16 revisions