First install pdd with uv or pip:
uv tool install pdd-cli
pip install pdd-cli
Then:
python pdd-setup.py (from this repo)
pdd-setup.py has one external dependency on the requests module, which is installed along with pdd-cli
pdd-setup.py will be integrated into the pdd-cli distribution in the near future.