Create a rocPyDecode wheel file#
A wheel distribution file for rocPyDecode can be created using a Python script located in the root of the rocPyDecode GitHub repository.
Use the develop branch if you want to preview new features or contribute to the rocPyDecode and rocPyJpegDecode code base. If you don’t intend to preview new features or contribute to the codebase, clone the branch that corresponds to your version of ROCm.
Note
To include rocPyJpegDecode in the wheel file, install rocJPEG before running the wheel generation script.
Before running the wheel generation script, run rocPyDecode-requirements.py from the rocPyDecode
root directory:
cd rocPyDecode
python3 rocPyDecode-requirements.py
If you’re installing on Ubuntu 22.04, install libstdc++-12-dev:
apt install libstdc++-12-dev
Run pip3 install
:
pip3 install .
Run the build_rocpydecode_wheel.py script to generate the wheel distribution file:
python3 build_rocpydecode_wheel.py
You can also run:
python3 setup.py bdist_wheel
The resulting wheel file will be saved to dist
directory.