-
Notifications
You must be signed in to change notification settings - Fork 204
/
pixi.toml
36 lines (28 loc) · 1.34 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[project]
authors = ["Tim de Jager <tim@prefix.dev>"]
channels = ["conda-forge"]
description = "Add a short description here"
name = "pypi-source-deps"
platforms = ["osx-arm64", "linux-64", "win-64", "osx-64"]
version = "0.1.0"
[tasks]
hello = "python -c 'import minimal_project.module; minimal_project.module.hello()'"
start = { depends-on = ["hello"] }
test = "pytest ."
[dependencies]
python = "*"
[pypi-dependencies]
rich = "~=13.7"
# Let's start with some git dependencies
# With ssh: (you need to have the correct ssh keys setup for which I (ruben) am to lazy to set up correctly)
# flask = { git = "ssh://git@github.com/pallets/flask" }
# With https
flask = { git = "https://github.com/pallets/flask" }
requests = { git = "https://github.com/psf/requests.git", rev = "147c8511ddbfa5e8f71bbf5c18ede0c4ceb3bba4" }
# TODO: will support later -> or use branch = '' or tag = '' to specify a branch or tag
# You can also directly add a source dependency from file
minimal-project = { path = "./minimal-project", editable = true }
# You can also use a direct url, to either a `.tar.gz` or `.zip`, or a `.whl` file
click = { url = "https://github.com/pallets/click/releases/download/8.1.7/click-8.1.7-py3-none-any.whl" }
# You can also just the default git repo, it will checkout the default branch
pytest = { git = "https://github.com/pytest-dev/pytest.git" }