-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: Add pixi to the template #305
Merged
Merged
Changes from 41 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
e8de22e
edit files for add pixi
YurelyCamacho 3a48335
add basic structure for pixi
YurelyCamacho 2236b92
add configuration to pixipyproject.toml
YurelyCamacho 82eca82
update pixi pyproject.toml
YurelyCamacho 9191732
update pyproject.toml
YurelyCamacho d3725aa
add setuptools
YurelyCamacho 3575944
update requires-python in base-pyproject.toml
YurelyCamacho a4ea5d4
change requires-python
YurelyCamacho a2a697e
change python version
YurelyCamacho c41914c
update
YurelyCamacho 08379a4
change in files for cargo build
YurelyCamacho dbc6419
changes in base to hatch
YurelyCamacho e7b0136
update command
YurelyCamacho 6e9d61c
changes cargo command
YurelyCamacho 7c3bb72
change cargo build command
YurelyCamacho 0e86b21
add pip install command
YurelyCamacho a6c5b4e
update files
YurelyCamacho f47e213
build requirement
YurelyCamacho 7dcebd1
add build
YurelyCamacho ca869ff
update pyproject.toml
YurelyCamacho 5c37bcc
test with pixi
YurelyCamacho de1f672
update base.sh
YurelyCamacho 2926648
move from conda pkg build to python-build for pixi
YurelyCamacho 46fe8fc
fix commands test
YurelyCamacho 9eb19ce
syntax error
YurelyCamacho b11a8db
buiold commands
YurelyCamacho d694ef2
pixi commands
YurelyCamacho 3816e96
revert command
YurelyCamacho 0692266
update
YurelyCamacho bdc2624
fix build
YurelyCamacho abe62c8
version build
YurelyCamacho b1a8040
build-system table
YurelyCamacho c6dd07b
fix pyproject.toml
YurelyCamacho 8e2cb2f
versions
YurelyCamacho 81f8169
changes
YurelyCamacho bccecc0
version
YurelyCamacho 337b556
update documentation for Pixi
YurelyCamacho b28bcce
update
YurelyCamacho 50d615e
fix prettier issues
YurelyCamacho 22755f7
change build to python-build
YurelyCamacho 1a2218b
add tool.pixi.environments table
YurelyCamacho 929cb2d
quotes
YurelyCamacho 27dc01c
fix issue with project version
YurelyCamacho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[virtualenvs] | ||
create = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,7 @@ build_system: | |
- maturin | ||
- scikit-build-core | ||
- pybind11 | ||
- pixi | ||
visible: true | ||
|
||
command_line_interface: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/scicookie/{{cookiecutter.project_slug}}/build-system/pixi/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[build-system] | ||
requires = ["setuptools>=40.8.0", "wheel", "build>=1.2.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.pixi.project] | ||
channels = ["conda-forge"] | ||
platforms = ["osx-arm64", "linux-64"] | ||
|
||
[tool.pixi.pypi-dependencies] | ||
"{{ cookiecutter.project_slug }}" = { path = ".", editable = true } | ||
|
||
[tool.pixi.dependencies] | ||
python-build = ">=1.2.2" | ||
|
||
[tool.pixi.environments] | ||
dev = ["dev"] | ||
|
||
{% include "build-system/base/pyproject.toml" %} | ||
{% include "build-system/base/dev-deps-pyproject.toml" %} | ||
{% include "build-system/base/urls-pyproject.toml" %} | ||
{% include "build-system/base/dev-deps-config-pyproject.toml" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,7 @@ build_system: | |
- maturin | ||
- scikit-build-core | ||
- pybind11 | ||
- pixi | ||
visible: true | ||
|
||
command_line_interface: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
not sure .. but it looks like that there is any issue running this with pixi ... so maybe you could try a different approach: