/usr/bin/python3m-config is in python3-dev 3.5.1-3.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/python3.5m-config
/usr/bin/python3.5m-config