pybind / pybind/cuda_example

Feature request: ability to import in poetry Python shell

Open
#118 1 comment 1 reaction 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

It would be really nice if instead of needing to install the package using pip install ./cmake_example, you could use Poetry's built-in shell to run the package locally. I do this regularly with other packages that use poetry.

Example:

$ poetry run python
>>> import 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

Start by inspecting the repository's CMake-based build setup and the Python package layout, then compare it with the requested poetry run python import example. Done means the package can be imported from Poetry's shell without first running pip install ./cmake_example.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, python
Domain
build-system, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.