audk/BaseTools/Scripts/PackageDocumentTools
Yunhua Feng 9d7e1e56a7 BaseTools/Scripts: Porting PackageDocumentTools code to use Python3
Porting PackageDocumentTools code to Python3
DoxyGen 1.8.6
wxpython 4.0.3

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-10-13 09:57:16 +08:00
..
plugins BaseTools/Scripts: Porting PackageDocumentTools code to use Python3 2018-10-13 09:57:16 +08:00
Readme.md BaseTools/Scripts: Porting PackageDocumentTools code to use Python3 2018-10-13 09:57:16 +08:00
__init__.py BaseTools: Add PackageDocumentTools into Scripts folder 2018-03-19 09:19:36 +08:00
packagedoc_cli.py BaseTools/Scripts: Porting PackageDocumentTools code to use Python3 2018-10-13 09:57:16 +08:00
packagedocapp.pyw BaseTools/Scripts: Porting PackageDocumentTools code to use Python3 2018-10-13 09:57:16 +08:00

Readme.md

Prerequisite Tools:

  1. Install Python 3.6.6 from https://www.python.org/downloads/release/python-366/
  2. Install wxPython 4.0.3 from https://pypi.org/project/wxPython/#files generally the libraries will be installed at python's subfolder, for example in windows: c:\python27\Lib\site-packages\
  3. Install DoxyGen 1.8.6 from https://sourceforge.net/projects/doxygen/files/rel-1.8.6/
  4. (Windows only) Install Htmlhelp tool from https://msdn.microsoft.com/en-us/library/windows/desktop/ms669985(v=vs.85).aspx

Limitation:

  1. Current tool doesn't work on latest wxPython and DoxyGen tool. Please use the sepecific version in above.

Run the Tool: a) Run with GUI:

  1. Enter src folder, double click "packagedocapp.pyw" or run command "python packagedocapp.pyw" to open the GUI.
  2. Make sure all the information in blank are correct.
  3. Click "Generate Package Document!" b) Run with command line:
  4. Open command line window
  5. Enter src folder, for example: "cd C:\PackageDocumentTools\src"
  6. Run "python packagedoc_cli.py --help" for detail command.