as stated in the title, what's the difference between the two install methods?
If I want to publish a package, what should I write in the setup.cfg
file? i.e.
[options]
...
install_requires =
cupy or cupy-cuda1xx
...
pip install cupy
builds from source (sdist)pip install cupy-cudaXY
installs the prebuilt wheel for CUDA X.YIf I want to publish a package, what should I write in the
setup.cfg
file?
Unfortunately there is no perfect solution yet but we are getting there. Currently there is an experimental metapackage on PyPI.org called cupy-wheel
for downstream to depend on. What it does is it detects the installing environment and chooses the correct wheel to install. It'd become official starting CuPy v11. See https://github.com/cupy/cupy/issues/6688.