Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] CUDAQ wheels install things outside its package directory. #2360

Open
boschmitt opened this issue Nov 6, 2024 · 0 comments
Open
Labels
build The issue related to the CUDA Quantum build python-lang Anything related to the Python CUDA Quantum language implementation

Comments

@boschmitt
Copy link
Collaborator

CUDA Quantum wheels install things outside its package directory in site-packages (or dist-packages).

Apart from the expected cudaq directory, it also installs:

bin/
distributed_interfaces/
include/
lib64/
lib/
src/
targets/

cacert.pem

While, AFAIK, there is not a mandate prohibiting this behavior, doing so, however, goes against best practices and can lead to unexpected errors. Wheels are expected to install packages in a predictable and contained manner. Installing to other locations should be used with caution and only when absolutely necessary, which seems to not be the case here.

All those should be installed within the cudaq directory itself.

@schweitzpgi schweitzpgi added build The issue related to the CUDA Quantum build python-lang Anything related to the Python CUDA Quantum language implementation labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The issue related to the CUDA Quantum build python-lang Anything related to the Python CUDA Quantum language implementation
Projects
None yet
Development

No branches or pull requests

2 participants