pybind / cmake_example

Example pybind11 module built with a CMake-based build system
Other
613 stars 218 forks source link

Feature request: ability to import in poetry Python shell #118

Open mvadari opened 1 year ago

mvadari commented 1 year ago

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
>>>
henryiii commented 1 year ago

And how do you plan to build it? Other packages don't build anything, they just point at Python source code.