pybind / pybind/cuda_example

running "pip install ./cmake_example" will install the shared library into site-packages root folder, but not a dedicated subfolder

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
670
Forks
219
Avg merge
8d 2h
Merged PRs (30d)
1

Description

How can one make the package such that on running "pip install ./cmake_example" it creates a subfolder in site-packages named "cmake_example" which contains the shared library for cmake_example?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce pip install ./cmake_example and inspect the CMake-based packaging configuration for the cmake_example example. Determine where the shared library is installed and how the package layout is defined; done means a fresh install places it under a dedicated site-packages/cmake_example directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.