scikit-build / scikit-build-sample-projects

Sample projects demonstrating use of scikit-build
74 stars 27 forks source link

Repository with "split" layout and editable installation #25

Open robertodr opened 2 years ago

robertodr commented 2 years ago

I am working on a project that has a somewhat unusual layout of the source folder:

Running pip install . works as expected, but I am having trouble with making the editable (pip install -e .) installation work. Can it be made to work? Note that both editable and non-editable installations work if I:

Here is a sample project for this "split" layout: https://github.com/robertodr/scikit-build-sample-projects/tree/split-layout/projects/hello-split-layout

Zhaoyilunnn commented 1 year ago

Having the same issue, does anybody know how to enable editable mode?