Project

General

Profile

Building » History » Revision 2

Revision 1 (Sergey Smolov, 04/17/2017 02:37 PM) → Revision 2/16 (Sergey Smolov, 04/18/2017 01:41 PM)

h1. Building 

 The tool building is based on the "pyInstaller":http://www.pyinstaller.org/ 

 h2. Windows 

 # Install Python 2.* interpreter from "here":https://www.python.org/downloads/ 
 # Install PyWin32 from "here":https://sourceforge.net/projects/pywin32/files/ 
 # Get pip-Win Python package manager from "here":https://sites.google.com/site/pydatalog/python/pip-for-windows and run it. 
 # In the pip-Win Command field enter the following: 
 <pre> 
 venv -c -i    pyi-env-name 
 </pre> 
 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: 
 <pre> 
 pip install PyInstaller 
 </pre> 

 # Once pyInstaller is installed, start pip-Win, in the Command field enter the following: 
 <pre> 
 venv pyi-env-name 
 </pre> 
 then click Run. 

 # Go to the the tool sources folder. 
 # Run the following command: 
 <pre> 
 pyinstaller setup.py -n traceutils --add-data="LICENSE;README" -p="traceutils;traceutils\record" -d 
 </pre> 

 # Go to the the _dist_ subdirectory and zip the result.