I think these two posts will help you out! Which python package on PyPI are you looking to use in your extension?
Simplest (Really only recommended for packaged on PyPI that have wheels available):
More involved, but gets the external python package at time of building the extension and then the files are packaged together when building the extension package file: