Skip to content
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

docs for folders.root and self.base_source_folder #2418

Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Mar 2, 2022

- **self.folders.root**: To specify the relative path from the ``conanfile.py`` to the root of the project, in case
the conanfile.py is in a subfolder and not in the project root. If defined all the other paths will be relative to
the project root, not to the location of the ``conanfile.py``
- **self.folders.base_source_folder** points to the root folder that is used as a base to compute the actual ``self.source_folder``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would extract this one from the list because it is read-only (we should say it) and previously the docs say: In the ``layout()`` method you can set:

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@memsharded memsharded assigned lasote and czoido and unassigned lasote Mar 3, 2022
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
@memsharded memsharded merged commit f4ef177 into conan-io:develop Mar 4, 2022
@memsharded memsharded deleted the feature/layout_root_base_source branch March 4, 2022 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants