leezu opened a new issue #16933: Python setup.py bdist_wheel broken URL: https://github.com/apache/incubator-mxnet/issues/16933 ## Description Python package built with the scripts included in this repository is not functional. The `libmxnet.so` is not installed to the same place as with our Pypi packages. It will be copied to `mxnet/libmxnet.so` instead of `lib/python3.8/site-packages/mxnet/libmxnet.so` It seems the destination path of package data is not set up correctly (cf https://www.python.org/dev/peps/pep-0427/#installing-a-wheel-distribution-1-0-py32-none-any-whl). ### Error Message `RuntimeError: Cannot find the MXNet library.` ## To Reproduce ### Steps to reproduce 1. `git clone https://github.com/apache/incubator-mxnet/ mxnet; cd mxnet; git checkout v1.6.x; git submodule update --init --recursive` 2. `mkdir build; cd build; cmake -DUSE_CUDA=1 -DUSE_MKLDNN=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DBUILD_CYTHON_MODULES=1 ..` 3. `cd ..` 4. `pip install wheel` 5. `./tools/staticbuild/build_wheel.sh` ## Environment MXNet 1.6 release branch.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
