You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to expand the contributor documentation to explain how the python package can be installed as an "editable install".
When I tried a naive pip install -e . -v call from within the python/cucim folder where setup.py is contained, this runs fine, but I am unable to import the package. I think the issue is that the cucim module folder is within a src subfolder rather than directly in the folder containing setup.py.
Describe the documentation you'd like
A workaround that fixes it for me, it to add the following to the setup.cfg:
[egg_info]
egg_base = src
which causes the cucim.egg-info folder to get placed into the src subfolder rather than in the same folder as setup.py itself.
Steps taken to search for needed documentation
read CONTRIBUTING.md
The text was updated successfully, but these errors were encountered:
I looks like `isort` checks have not been running on CI due to an incorrect path in a CI script. The following shows up in CI logs:
```
/opt/conda/envs/rapids/lib/python3.7/site-packages/isort/main.py:104: UserWarning: Unable to parse file python due to [Errno 2] No such file or directory: '/workspace/python/cucim/python'
warn(f"Unable to parse file {file_name} due to {error}")
```
The first commit here fixes that. I then changed `force_single_line` to False to minimize the amount of changes when rerunning `isort` on the existing code base (see #24). Let me know if we need to switch to `force_single_line = True` instead.
Authors:
- Gregory R. Lee (https://github.com/grlee77)
Approvers:
- AJ Schmidt (https://github.com/ajschmidt8)
- Benjamin Zaitlen (https://github.com/quasiben)
URL: #28
Report needed documentation
Report needed documentation
It would be useful to expand the contributor documentation to explain how the python package can be installed as an "editable install".
When I tried a naive
pip install -e . -v
call from within thepython/cucim
folder wheresetup.py
is contained, this runs fine, but I am unable to import the package. I think the issue is that thecucim
module folder is within asrc
subfolder rather than directly in the folder containingsetup.py
.Describe the documentation you'd like
A workaround that fixes it for me, it to add the following to the
setup.cfg
:which causes the
cucim.egg-info
folder to get placed into thesrc
subfolder rather than in the same folder assetup.py
itself.Steps taken to search for needed documentation
read
CONTRIBUTING.md
The text was updated successfully, but these errors were encountered: