-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Document CWD from where RTD execute scripts #6534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note: I tried creating symlinks, but still got an error that it couldn't find the file. https://readthedocs.org/projects/tswast-protobuf/builds/10280409/
|
I think the problem is you are assuming the cwd is |
Probably is worth documenting this somewhere. Probably here https://docs.readthedocs.io/en/stable/builds.html |
../src
unavailable when installing Python package in monorepo.
I actually updated the paths to use |
@tswast we clone the whole repo and over that we execute the |
Is it possible to do a |
Currently, using the pip install option, no. But there is a workaround using a requirements file #6243 (comment) |
Thanks! Am I doing something wrong? I don't see the https://readthedocs.org/projects/tswast-protobuf/builds/10292724/ Added in: Maybe I can't use conda and pip in the same build? I'd love to use conda to install some C++ dependencies rather than build them from scratch. And yes, they are actually needed because the |
Or maybe there's a way to run |
oh, when you use conda, you can't use some options from the python block #6509. Is there a way of installing from a requirements file from conda? |
I'll do some digging. |
We don't support those neither, but I'll attach those to the other issue, seems like something we could add. |
Couldn't find any docs about this. But looks like conda just pass the package name to pip. So in theory this should work: dependencies:
- pip:
- "-r requirements.txt" |
Success! https://readthedocs.org/projects/tswast-protobuf/builds/10309411/ Looks like I still need to update the output paths for
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Details
I'm trying to build the Python docs for the protocol buffers package, but hitting a roadblock in the installation of the protobuf package. It attempts to generate Python code for some proto files in the C++ build, but these are unavailable, as only the
./python
directory appears to be copied over for the pip installation.My
.readthedocs.yml
:My
environment.yml
Expected Result
A description of what you wanted to happen
I'd like to run the
pip install .
/python setup.py install
in-place, rather than copy the subdirectory to atmp
folder.Actual Result
A description of what actually happened
I get file-not-found errors.
The text was updated successfully, but these errors were encountered: