-
Notifications
You must be signed in to change notification settings - Fork 190
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: first iteration on the documentation of the global feature #2169
docs: first iteration on the documentation of the global feature #2169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only had one small comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
channels = ["conda-forge"] | ||
dependencies = { python = ">=3.10,<3.11" } | ||
exposed = { py3 = "python3" } | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explain that you can run python by executing py3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
### Example: Creating a Data Science Sandbox Environment | ||
You can create an environment with multiple tools using the following command: | ||
```shell | ||
pixi global install --environment data-science --expose jupyter=jupyter --expose ipython=ipython jupyter numpy pandas matplotlib ipython |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use fewer packages to avoid that the reader has to scroll
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
``` | ||
|
||
|
||
### Example: Creating a Data Science Sandbox Environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example should come after Adding a series of tools at once
. It is more complicated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
tracing::debug!( | ||
"Found executables: {:?} in {:?}", | ||
executables, | ||
"In packages: {}, found executables: {:?} ", | ||
prefix_packages | ||
.iter() | ||
.map(|p| p.repodata_record.package_record.name.as_source()) | ||
.collect::<Vec<_>>() | ||
.map(|rec| rec.repodata_record.package_record.name.as_normalized()) | ||
.join(", "), | ||
executables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change still valid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
Co-authored-by: Hofer-Julian <[email protected]>
Co-authored-by: Hofer-Julian <[email protected]>
Co-authored-by: Hofer-Julian <[email protected]>
d38f723
into
prefix-dev:feature/pixi-global
Not proud of this but it's a start. I rather spend more time on improving the code then documenting my way around it.