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(contribute): include instructions to use Pixi #10504

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

deepyaman
Copy link
Contributor

@deepyaman deepyaman commented Nov 16, 2024

Description of changes

Share how I set up my development environment using Pixi.

@github-actions github-actions bot added the docs Documentation related issues or PRs label Nov 16, 2024
@deepyaman deepyaman changed the title docs(contribute): include instructures to use Pixi docs(contribute): include instructions to use Pixi Nov 16, 2024
if manager == "conda" or manager == "mamba":
print(f" {manager} install -c conda-forge gh")
elif manager == "pixi":
print(f" {manager} global install gh")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't do this because I don't use gh, but wanted to keep things consistent...

print()
if manager == "pixi":
print(" ::: {.callout-note}")
print(" This command will initialize a `pixi.toml` file and also modify ")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alternatively, we could provide Pixi configuration in pyproject.toml (or pixi.toml), but this would be more involved to keep in sync; this approach worked well enough for me so far, with minimal effort.

@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 16, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 16, 2024
@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@deepyaman deepyaman marked this pull request as ready for review November 17, 2024 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant