Building latest mxnet 1.x with Python bindings (ubuntu 22.04)

I want to build latest mxnet 1.8+ from source to create mxnet python package (as is in Pypi). I want the package to be built exactly like Pypi version except that I want to remove logging which happens in C++ code in console with the official python bindings in Pypi.
When I try to build using cmake by following instructions here (Building From Source | Apache MXNet), the size of libmxnet.lib is considerably higher than the one which comes with the standard version. When I try to use that, my Python code hangs up.
Are there any detailed instructions on how to build mxnet from source along with python bindings exactly like PyPi package?