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

fix: modified example to be a bit more logical for my taste. #2674

Merged
merged 7 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/rich_example/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 10 additions & 11 deletions examples/rich_example/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ name = "rich_example"
requires-python = ">= 3.11"
version = "0.1.0"

[project.scripts]
rich_example = "rich_example:main"

[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]

[tool.pixi.project]
[tool.pixi.workspace]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
preview = ["pixi-build"]
Expand All @@ -24,9 +27,12 @@ hatchling = "==1.26.3"
# This way uv is used instead of pip
uv = "*"


[project.scripts]
rich_example = "rich_example:main"
# This section marks the project as a pixi package.
#
# Normally a number of fields would be set here, like the name, version, etc.
# However, since all these fields are already defined in the [project] section
# at the top of this file they are not required.
[tool.pixi.package]

# The build-system section defines the build system that will be used to turn
# the source code of this package into a conda package. Similarly to the above
Expand Down Expand Up @@ -55,10 +61,3 @@ test = "rich_example"
[tool.pixi.dependencies]
rich = ">=13.9.4,<14"
rich_example = { path = "." }

# This section marks the project as a pixi package.
#
# Normally a number of fields would be set here, like the name, version, etc.
# However, since all these fields are already defined in the [project] section
# at the top of this file they are not required.
[tool.pixi.package]
Loading